@carbon/ibm-products 2.43.2-canary.125 → 2.43.2-canary.127
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +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 +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 +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 +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/index.d.ts +2 -1
- package/es/components/AboutModal/AboutModal.d.ts +1 -2
- package/es/components/AboutModal/index.d.ts +8 -1
- package/es/components/ActionSet/ActionSet.d.ts +1 -2
- package/es/components/ActionSet/ActionSet.js +2 -2
- package/es/components/ActionSet/index.d.ts +8 -1
- package/es/components/AddSelect/AddSelectBody.js +1 -1
- package/es/components/AddSelect/index.d.ts +2 -1
- package/es/components/Carousel/index.d.ts +9 -2
- package/es/components/Cascade/Cascade.d.ts +1 -2
- package/es/components/Cascade/Cascade.js +2 -2
- package/es/components/Cascade/index.d.ts +2 -1
- package/es/components/Checklist/Checklist.d.ts +2 -2
- package/es/components/Checklist/Checklist.js +6 -6
- package/es/components/Checklist/index.d.ts +8 -1
- package/es/components/Coachmark/Coachmark.d.ts +1 -2
- package/es/components/Coachmark/Coachmark.js +5 -5
- package/es/components/Coachmark/index.d.ts +10 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
- package/es/components/CoachmarkBeacon/index.d.ts +8 -1
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/es/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/es/components/CoachmarkButton/index.d.ts +8 -1
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/es/components/CoachmarkFixed/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/es/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -4
- package/es/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/es/components/ComboButton/ComboButton.d.ts +1 -1
- package/es/components/ComboButton/ComboButton.js +4 -4
- package/es/components/ComboButton/index.d.ts +9 -2
- package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/es/components/CreateFullPage/CreateFullPage.js +5 -5
- package/es/components/CreateFullPage/index.d.ts +9 -2
- package/es/components/CreateModal/CreateModal.d.ts +2 -3
- package/es/components/CreateModal/CreateModal.js +1 -1
- package/es/components/CreateModal/index.d.ts +2 -1
- package/es/components/CreateSidePanel/index.d.ts +7 -1
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/es/components/CreateTearsheet/index.d.ts +10 -3
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/es/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/es/components/DataSpreadsheet/index.d.ts +8 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +70 -27
- package/es/components/Datagrid/types/index.d.ts +2 -0
- package/es/components/Datagrid/useNestedRowExpander.js +65 -16
- package/es/components/Datagrid/useRowRenderer.js +44 -2
- package/es/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/es/components/DelimitedList/index.d.ts +8 -1
- package/es/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/es/components/EditFullPage/index.d.ts +8 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/es/components/EditInPlace/EditInPlace.js +3 -3
- package/es/components/EditInPlace/index.d.ts +8 -1
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/es/components/EditSidePanel/EditSidePanel.js +2 -2
- package/es/components/EditSidePanel/index.d.ts +8 -1
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/es/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/es/components/EditUpdateCards/EditUpdateCards.js +1 -0
- package/es/components/EditUpdateCards/index.d.ts +8 -1
- package/es/components/ExportModal/ExportModal.d.ts +3 -3
- package/es/components/ExportModal/ExportModal.js +3 -3
- package/es/components/ExportModal/index.d.ts +2 -1
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/es/components/ExpressiveCard/index.d.ts +2 -1
- package/es/components/Guidebanner/Guidebanner.js +2 -1
- package/es/components/InterstitialScreen/InterstitialScreen.js +1 -0
- package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/es/components/Tearsheet/Tearsheet.js +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +1 -1
- package/lib/components/APIKeyModal/index.d.ts +2 -1
- package/lib/components/AboutModal/AboutModal.d.ts +1 -2
- package/lib/components/AboutModal/index.d.ts +8 -1
- package/lib/components/ActionSet/ActionSet.d.ts +1 -2
- package/lib/components/ActionSet/ActionSet.js +2 -2
- package/lib/components/ActionSet/index.d.ts +8 -1
- package/lib/components/AddSelect/index.d.ts +2 -1
- package/lib/components/Carousel/index.d.ts +9 -2
- package/lib/components/Cascade/Cascade.d.ts +1 -2
- package/lib/components/Cascade/Cascade.js +2 -2
- package/lib/components/Cascade/index.d.ts +2 -1
- package/lib/components/Checklist/Checklist.d.ts +2 -2
- package/lib/components/Checklist/Checklist.js +6 -6
- package/lib/components/Checklist/index.d.ts +8 -1
- package/lib/components/Coachmark/Coachmark.d.ts +1 -2
- package/lib/components/Coachmark/Coachmark.js +5 -5
- package/lib/components/Coachmark/index.d.ts +10 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -3
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +3 -2
- package/lib/components/CoachmarkBeacon/index.d.ts +8 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -2
- package/lib/components/CoachmarkButton/CoachmarkButton.js +4 -2
- package/lib/components/CoachmarkButton/index.d.ts +8 -1
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -5
- package/lib/components/CoachmarkFixed/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElement/index.d.ts +8 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -2
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -4
- package/lib/components/CoachmarkOverlayElements/index.d.ts +8 -1
- package/lib/components/ComboButton/ComboButton.d.ts +1 -1
- package/lib/components/ComboButton/ComboButton.js +5 -5
- package/lib/components/ComboButton/index.d.ts +9 -2
- package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
- package/lib/components/CreateFullPage/CreateFullPage.js +5 -5
- package/lib/components/CreateFullPage/index.d.ts +9 -2
- package/lib/components/CreateModal/CreateModal.d.ts +2 -3
- package/lib/components/CreateModal/CreateModal.js +1 -1
- package/lib/components/CreateModal/index.d.ts +2 -1
- package/lib/components/CreateSidePanel/index.d.ts +7 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
- package/lib/components/CreateTearsheet/index.d.ts +10 -3
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
- package/lib/components/CreateTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +3 -4
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +11 -10
- package/lib/components/DataSpreadsheet/index.d.ts +8 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +7 -5
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.d.ts +7 -0
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +70 -26
- package/lib/components/Datagrid/types/index.d.ts +2 -0
- package/lib/components/Datagrid/useNestedRowExpander.js +64 -15
- package/lib/components/Datagrid/useRowRenderer.js +44 -2
- package/lib/components/DelimitedList/DelimitedList.d.ts +1 -2
- package/lib/components/DelimitedList/index.d.ts +8 -1
- package/lib/components/EditFullPage/EditFullPage.d.ts +1 -2
- package/lib/components/EditFullPage/index.d.ts +8 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
- package/lib/components/EditInPlace/EditInPlace.js +3 -3
- package/lib/components/EditInPlace/index.d.ts +8 -1
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -3
- package/lib/components/EditSidePanel/EditSidePanel.js +2 -2
- package/lib/components/EditSidePanel/index.d.ts +8 -1
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -2
- package/lib/components/EditTearsheetNarrow/index.d.ts +8 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
- package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -0
- package/lib/components/EditUpdateCards/index.d.ts +8 -1
- package/lib/components/ExportModal/ExportModal.d.ts +3 -3
- package/lib/components/ExportModal/ExportModal.js +3 -3
- package/lib/components/ExportModal/index.d.ts +2 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
- package/lib/components/ExpressiveCard/index.d.ts +2 -1
- package/lib/components/Guidebanner/Guidebanner.js +2 -1
- package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -0
- package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
- package/lib/components/SidePanel/SidePanel.js +1 -1
- package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
- package/lib/components/Tearsheet/Tearsheet.js +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
- package/lib/components/Tearsheet/TearsheetShell.js +1 -1
- package/package.json +2 -2
- package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
@@ -6,13 +6,13 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import '../../global/js/utils/props-helper.js';
|
9
10
|
import React__default from 'react';
|
11
|
+
import { Form } from '@carbon/react';
|
10
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
13
|
import cx from 'classnames';
|
12
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
15
|
import { pkg } from '../../settings.js';
|
14
|
-
import { Form } from '@carbon/react';
|
15
|
-
import '../../global/js/utils/props-helper.js';
|
16
16
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
17
|
import { SidePanel } from '../SidePanel/SidePanel.js';
|
18
18
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
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 { EditSidePanel } from './EditSidePanel';
|
8
|
+
export type { EditSidePanelProps } from './EditSidePanel';
|
@@ -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 EditTearsheetNarrowProps {
|
8
|
+
export interface EditTearsheetNarrowProps {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the EditTearsheetNarrow.
|
11
11
|
*/
|
@@ -19,4 +19,3 @@ interface EditTearsheetNarrowProps {
|
|
19
19
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
|
20
20
|
*/
|
21
21
|
export declare let EditTearsheetNarrow: React.ForwardRefExoticComponent<EditTearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
|
22
|
-
export {};
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2022, 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 { EditTearsheetNarrow } from './EditTearsheetNarrow';
|
8
|
+
export type { EditTearsheetNarrowProps } from './EditTearsheetNarrow';
|
@@ -15,7 +15,7 @@ type ActionIcon = {
|
|
15
15
|
href?: string;
|
16
16
|
};
|
17
17
|
type PlacementType = 'top' | 'bottom';
|
18
|
-
interface EditUpdateCardsProps {
|
18
|
+
export interface EditUpdateCardsProps {
|
19
19
|
/**
|
20
20
|
* Icons that are displayed on card. Refer to design documentation for implementation guidelines
|
21
21
|
*/
|
@@ -14,6 +14,7 @@ import { pkg } from '../../settings.js';
|
|
14
14
|
import { ProductiveCard } from '../ProductiveCard/ProductiveCard.js';
|
15
15
|
|
16
16
|
var _excluded = ["actionIcons", "actionsPlacement", "className", "description", "editChildren", "editMode", "label", "onPrimaryButtonClick", "onSecondaryButtonClick", "previewChildren", "title", "titleSize", "primaryButtonIcon", "primaryButtonText", "secondaryButtonIcon", "secondaryButtonText"];
|
17
|
+
|
17
18
|
// import { children } from 'cheerio/lib/api/traversing';
|
18
19
|
|
19
20
|
// Carbon and package components we use.
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2022, 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 { EditUpdateCards } from './EditUpdateCards';
|
8
|
+
export type { EditUpdateCardsProps } from './EditUpdateCards';
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/// <reference path="../../../src/custom-typings/index.d.ts" />
|
2
|
-
import React, { ReactNode } from 'react';
|
3
2
|
import { ComposedModal } from '@carbon/react';
|
3
|
+
import React, { ReactNode } from 'react';
|
4
4
|
type InputType = 'text' | 'password';
|
5
5
|
type PreformattedExtensions = {
|
6
6
|
extension?: string;
|
7
7
|
description?: string;
|
8
8
|
};
|
9
|
-
interface
|
9
|
+
export interface ExportModalProps extends React.ComponentProps<typeof ComposedModal> {
|
10
10
|
/**
|
11
11
|
* Body content for the modal
|
12
12
|
*/
|
@@ -107,7 +107,7 @@ interface RemoveModalProps extends React.ComponentProps<typeof ComposedModal> {
|
|
107
107
|
/**
|
108
108
|
* Modal dialog version of the export pattern
|
109
109
|
*/
|
110
|
-
export declare let ExportModal: React.ForwardRefExoticComponent<
|
110
|
+
export declare let ExportModal: React.ForwardRefExoticComponent<ExportModalProps & {
|
111
111
|
children?: React.ReactNode;
|
112
112
|
} & React.RefAttributes<unknown>>;
|
113
113
|
export {};
|
@@ -6,15 +6,15 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default, { forwardRef, useState, useEffect, useRef } from 'react';
|
10
9
|
import { ComposedModal, ModalHeader, ModalBody, FormGroup, RadioButtonGroup, RadioButton, TextInput, PasswordInput, Loading, ModalFooter, Button } from '@carbon/react';
|
11
|
-
import cx from 'classnames';
|
12
10
|
import { CheckmarkFilled, ErrorFilled } from '@carbon/react/icons';
|
11
|
+
import React__default, { forwardRef, useState, useEffect, useRef } from 'react';
|
13
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
|
+
import cx from 'classnames';
|
14
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
16
15
|
import { pkg } from '../../settings.js';
|
17
16
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
17
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
18
18
|
|
19
19
|
var _Loading;
|
20
20
|
var _excluded = ["body", "className", "error", "errorMessage", "filename", "hidePasswordLabel", "inputLabel", "inputType", "invalidInputText", "loading", "loadingMessage", "onClose", "onRequestSubmit", "open", "portalTarget", "preformattedExtensions", "preformattedExtensionsLabel", "primaryButtonText", "secondaryButtonText", "showPasswordLabel", "successMessage", "successful", "title", "validExtensions"];
|
@@ -1 +1,2 @@
|
|
1
|
-
export { ExportModal } from
|
1
|
+
export { ExportModal } from './ExportModal';
|
2
|
+
export type { ExportModalProps } from './ExportModal';
|
@@ -8,7 +8,7 @@ type ActionIcon = {
|
|
8
8
|
iconDescription?: string;
|
9
9
|
href?: string;
|
10
10
|
};
|
11
|
-
interface ExpressiveCardProps extends PropsWithChildren {
|
11
|
+
export interface ExpressiveCardProps extends PropsWithChildren {
|
12
12
|
/**
|
13
13
|
* Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
|
14
14
|
*/
|
@@ -9,8 +9,8 @@ import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js
|
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
11
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
12
|
-
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
13
12
|
import { pkg } from '../../settings.js';
|
13
|
+
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
14
14
|
import { Card } from '../Card/Card.js';
|
15
15
|
|
16
16
|
var componentName = 'ExpressiveCard';
|
@@ -1 +1,2 @@
|
|
1
|
-
export { ExpressiveCard } from
|
1
|
+
export { ExpressiveCard } from './ExpressiveCard';
|
2
|
+
export type { ExpressiveCardProps } from './ExpressiveCard';
|
@@ -12,10 +12,11 @@ import cx from 'classnames';
|
|
12
12
|
import { blue90, purple70 } from '../../node_modules/@carbon/colors/es/index.js';
|
13
13
|
import { Idea, CaretLeft, CaretRight, Close } from '@carbon/react/icons';
|
14
14
|
import { Button, IconButton } from '@carbon/react';
|
15
|
+
import { Carousel } from '../Carousel/Carousel.js';
|
16
|
+
import '../Carousel/CarouselItem.js';
|
15
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
16
18
|
import { pkg } from '../../settings.js';
|
17
19
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
18
|
-
import { Carousel } from '../Carousel/Carousel.js';
|
19
20
|
|
20
21
|
var _CaretLeft, _CaretRight, _Close;
|
21
22
|
var _excluded = ["children", "className", "collapsible", "onClose", "withLeftGutter", "closeIconDescription", "collapseButtonLabel", "expandButtonLabel", "nextIconDescription", "previousIconDescription", "title"];
|
@@ -15,6 +15,7 @@ import { clamp } from 'lodash';
|
|
15
15
|
import { ArrowRight } from '@carbon/react/icons';
|
16
16
|
import { ComposedModal, ModalHeader, ProgressIndicator, ProgressStep, ModalBody, ModalFooter, FlexGrid, Row, Column, Button } from '@carbon/react';
|
17
17
|
import { Carousel } from '../Carousel/Carousel.js';
|
18
|
+
import '../Carousel/CarouselItem.js';
|
18
19
|
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
19
20
|
|
20
21
|
var _excluded = ["children", "className", "closeIconDescription", "domainName", "hideProgressIndicator", "interstitialAriaLabel", "isFullScreen", "isOpen", "media", "nextButtonLabel", "onClose", "previousButtonLabel", "productName", "headerClassName", "headerTitle", "startButtonLabel", "skipButtonLabel"];
|
@@ -8,9 +8,9 @@
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
+
import { AddSelect } from '../AddSelect/AddSelect.js';
|
11
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
12
13
|
import { pkg } from '../../settings.js';
|
13
|
-
import { AddSelect } from '../AddSelect/AddSelect.js';
|
14
14
|
|
15
15
|
var componentName = 'MultiAddSelect';
|
16
16
|
/**
|
@@ -17,10 +17,10 @@ import { pkg } from '../../settings.js';
|
|
17
17
|
import { SIDE_PANEL_SIZES } from './constants.js';
|
18
18
|
import { Button, IconButton } from '@carbon/react';
|
19
19
|
import { ArrowLeft, Close } from '@carbon/react/icons';
|
20
|
+
import { ActionSet } from '../ActionSet/ActionSet.js';
|
20
21
|
import { actionSetVariants, overlayVariants, panelVariants } from './motion/variants.js';
|
21
22
|
import pconsole from '../../global/js/utils/pconsole.js';
|
22
23
|
import usePrefersReducedMotion from '../../global/js/hooks/usePrefersReducedMotion.js';
|
23
|
-
import { ActionSet } from '../ActionSet/ActionSet.js';
|
24
24
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
25
25
|
import { useFocus } from '../../global/js/hooks/useFocus.js';
|
26
26
|
|
@@ -8,10 +8,10 @@
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
+
import { AddSelect } from '../AddSelect/AddSelect.js';
|
11
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
12
13
|
import { pkg } from '../../settings.js';
|
13
14
|
import { prepareProps } from '../../global/js/utils/props-helper.js';
|
14
|
-
import { AddSelect } from '../AddSelect/AddSelect.js';
|
15
15
|
|
16
16
|
var componentName = 'SingleAddSelect';
|
17
17
|
/**
|
@@ -12,8 +12,8 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
|
12
12
|
import { allPropTypes } from '../../global/js/utils/props-helper.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { Button } from '@carbon/react';
|
15
|
-
import { TearsheetShell, tearsheetHasCloseIcon, portalType } from './TearsheetShell.js';
|
16
15
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
16
|
+
import { TearsheetShell, tearsheetHasCloseIcon, portalType } from './TearsheetShell.js';
|
17
17
|
|
18
18
|
var _excluded = ["influencerPosition", "influencerWidth"];
|
19
19
|
var componentName = 'Tearsheet';
|
@@ -12,8 +12,8 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
|
12
12
|
import { prepareProps, allPropTypes } from '../../global/js/utils/props-helper.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { Button } from '@carbon/react';
|
15
|
-
import { TearsheetShell, tearsheetHasCloseIcon, portalType, tearsheetShellWideProps } from './TearsheetShell.js';
|
16
15
|
import { ActionSet } from '../ActionSet/ActionSet.js';
|
16
|
+
import { TearsheetShell, tearsheetHasCloseIcon, portalType, tearsheetShellWideProps } from './TearsheetShell.js';
|
17
17
|
|
18
18
|
var _excluded = ["verticalPosition"];
|
19
19
|
var componentName = 'TearsheetNarrow';
|
@@ -14,11 +14,11 @@ import { pkg } from '../../settings.js';
|
|
14
14
|
import pconsole from '../../global/js/utils/pconsole.js';
|
15
15
|
import { getNodeTextContent } from '../../global/js/utils/getNodeTextContent.js';
|
16
16
|
import { Button, usePrefix, ComposedModal, ModalHeader, Layer } from '@carbon/react';
|
17
|
+
import { ActionSet } from '../ActionSet/ActionSet.js';
|
17
18
|
import { Wrap } from '../../global/js/utils/Wrap.js';
|
18
19
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
19
20
|
import { useFocus, getSpecificElement } from '../../global/js/hooks/useFocus.js';
|
20
21
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
21
|
-
import { ActionSet } from '../ActionSet/ActionSet.js';
|
22
22
|
|
23
23
|
var _excluded = ["actions", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
|
24
24
|
|
@@ -1 +1,2 @@
|
|
1
|
-
export { APIKeyModal } from
|
1
|
+
export { APIKeyModal } from './APIKeyModal';
|
2
|
+
export type { APIKeyModalProps } from './APIKeyModal.types';
|
@@ -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 AboutModalProps {
|
8
|
+
export interface AboutModalProps {
|
9
9
|
/**
|
10
10
|
* If you are legally required to display logos of technologies used
|
11
11
|
* to build your product you can provide this in the additionalInfo.
|
@@ -77,4 +77,3 @@ interface AboutModalProps {
|
|
77
77
|
* to completion.
|
78
78
|
*/
|
79
79
|
export declare let AboutModal: React.ForwardRefExoticComponent<AboutModalProps & React.RefAttributes<HTMLDivElement>>;
|
80
|
-
export {};
|
@@ -1 +1,8 @@
|
|
1
|
-
|
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 { AboutModal } from './AboutModal';
|
8
|
+
export type { AboutModalProps } from './AboutModal';
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
9
9
|
import { ButtonProps } from '@carbon/react';
|
10
10
|
export declare const ButtonSizes: readonly ["sm", "md", "lg", "xl", "2xl"];
|
11
11
|
export type ButtonSize = (typeof ButtonSizes)[number];
|
12
|
-
interface ActionSetProps {
|
12
|
+
export interface ActionSetProps {
|
13
13
|
/**
|
14
14
|
* The action buttons to show. Each action is specified as an object
|
15
15
|
* representation of a Carbon button.
|
@@ -47,4 +47,3 @@ interface ActionSetProps {
|
|
47
47
|
* right.
|
48
48
|
*/
|
49
49
|
export declare const ActionSet: React.ForwardRefExoticComponent<ActionSetProps & React.RefAttributes<HTMLDivElement>>;
|
50
|
-
export {};
|
@@ -10,12 +10,12 @@
|
|
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 propsHelper = require('../../global/js/utils/props-helper.js');
|
14
16
|
var index = require('../../node_modules/prop-types/index.js');
|
15
17
|
var cx = require('classnames');
|
16
18
|
var settings = require('../../settings.js');
|
17
|
-
var propsHelper = require('../../global/js/utils/props-helper.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. 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 { ActionSet } from './ActionSet';
|
8
|
+
export type { ActionSetProps } from './ActionSet';
|
@@ -1 +1,2 @@
|
|
1
|
-
export { AddSelect } from
|
1
|
+
export { AddSelect } from './AddSelect';
|
2
|
+
export type { AddSelectProps } from './AddSelect';
|
@@ -1,2 +1,9 @@
|
|
1
|
-
|
2
|
-
|
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
|
+
export { Carousel } from './Carousel';
|
8
|
+
export { CarouselItem } from './CarouselItem';
|
9
|
+
export type { CarouselProps } from './Carousel';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
interface CascadeProps {
|
2
|
+
export interface CascadeProps {
|
3
3
|
children: ReactNode;
|
4
4
|
/**
|
5
5
|
* Specify an optional className to be applied to
|
@@ -25,4 +25,3 @@ page as that will distract the user.
|
|
25
25
|
export declare let Cascade: React.ForwardRefExoticComponent<CascadeProps & {
|
26
26
|
children?: React.ReactNode;
|
27
27
|
} & React.RefAttributes<HTMLDivElement>>;
|
28
|
-
export {};
|
@@ -12,10 +12,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
14
|
var react = require('@carbon/react');
|
15
|
-
var cx = require('classnames');
|
16
15
|
var index = require('../../node_modules/prop-types/index.js');
|
17
|
-
var
|
16
|
+
var cx = require('classnames');
|
18
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
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
|
|
@@ -1 +1,2 @@
|
|
1
|
-
export { Cascade } from
|
1
|
+
export { Cascade } from './Cascade';
|
2
|
+
export type { CascadeProps } from './Cascade';
|
@@ -11,9 +11,9 @@
|
|
11
11
|
* ModifiedTabs (ModifiedTabLabelNew, ModifiedTabLabelWithClose)
|
12
12
|
* PageHeader (PageHeaderTitle, PageHeaderUtils)
|
13
13
|
*/
|
14
|
-
import React, { ReactNode } from 'react';
|
15
14
|
import { IconButton } from '@carbon/react';
|
16
15
|
import { Kind, Theme } from './Checklist.types';
|
16
|
+
import React, { ReactNode } from 'react';
|
17
17
|
type Task = {
|
18
18
|
kind: Kind;
|
19
19
|
label: string;
|
@@ -23,7 +23,7 @@ type TaskList = {
|
|
23
23
|
title?: string;
|
24
24
|
tasks: Array<Task>;
|
25
25
|
};
|
26
|
-
interface ChecklistProps {
|
26
|
+
export interface ChecklistProps {
|
27
27
|
/**
|
28
28
|
* Define both `chartLabel` and `chartValue` to show the chart and its label together.
|
29
29
|
*/
|
@@ -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('@carbon/react');
|
14
|
+
var Checklist_types = require('./Checklist.types.js');
|
13
15
|
var React = require('react');
|
16
|
+
var ChecklistChart = require('./ChecklistChart.js');
|
17
|
+
var ChecklistIcon = require('./ChecklistIcon.js');
|
18
|
+
var icons = require('@carbon/react/icons');
|
14
19
|
var index = require('../../node_modules/prop-types/index.js');
|
15
20
|
var cx = require('classnames');
|
16
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
|
-
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
18
22
|
var settings = require('../../settings.js');
|
19
|
-
var
|
20
|
-
var icons = require('@carbon/react/icons');
|
21
|
-
var ChecklistIcon = require('./ChecklistIcon.js');
|
22
|
-
var ChecklistChart = require('./ChecklistChart.js');
|
23
|
-
var Checklist_types = require('./Checklist.types.js');
|
23
|
+
var uuidv4 = require('../../global/js/utils/uuidv4.js');
|
24
24
|
|
25
25
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
26
26
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
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
|
+
export { Checklist } from './Checklist';
|
8
|
+
export type { ChecklistProps } from './Checklist';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { MutableRefObject, ReactNode } from 'react';
|
8
|
-
interface CoachmarkProps {
|
8
|
+
export interface CoachmarkProps {
|
9
9
|
/**
|
10
10
|
* Where to render the Coachmark relative to its target.
|
11
11
|
* Applies only to Floating and Tooltip Coachmarks.
|
@@ -72,4 +72,3 @@ interface CoachmarkProps {
|
|
72
72
|
* user to gain understanding of the product's main value and discover new use cases.
|
73
73
|
*/
|
74
74
|
export declare let Coachmark: React.ForwardRefExoticComponent<CoachmarkProps & React.RefAttributes<HTMLElement>>;
|
75
|
-
export {};
|
@@ -11,13 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
var React = require('react');
|
14
|
-
var
|
14
|
+
var hooks = require('./utils/hooks.js');
|
15
|
+
var enums = require('./utils/enums.js');
|
16
|
+
var context = require('./utils/context.js');
|
17
|
+
var CoachmarkOverlay = require('./CoachmarkOverlay.js');
|
15
18
|
var index = require('../../node_modules/prop-types/index.js');
|
16
19
|
var reactDom = require('react-dom');
|
17
|
-
var
|
18
|
-
var context = require('./utils/context.js');
|
19
|
-
var enums = require('./utils/enums.js');
|
20
|
-
var hooks = require('./utils/hooks.js');
|
20
|
+
var cx = require('classnames');
|
21
21
|
var devtools = require('../../global/js/utils/devtools.js');
|
22
22
|
var settings = require('../../settings.js');
|
23
23
|
var lodash = require('lodash');
|
@@ -1,3 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 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 { Coachmark } from './Coachmark';
|
8
|
+
export { BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, } from './utils/enums';
|
9
|
+
export { useCoachmark } from './utils/context';
|
10
|
+
export type { CoachmarkProps } from './Coachmark';
|
@@ -4,9 +4,9 @@
|
|
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
|
-
import React from 'react';
|
8
7
|
import { BEACON_KIND } from '../Coachmark';
|
9
|
-
|
8
|
+
import React from 'react';
|
9
|
+
export interface CoachmarkBeaconProps {
|
10
10
|
/**
|
11
11
|
* Optional class name for this component.
|
12
12
|
*/
|
@@ -26,4 +26,3 @@ interface CoachmarkBeaconProps {
|
|
26
26
|
* Use beacon for the target prop of a Coachmark component.
|
27
27
|
*/
|
28
28
|
export declare let CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconProps & React.RefAttributes<HTMLDivElement>>;
|
29
|
-
export {};
|
@@ -10,12 +10,13 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
|
13
|
+
require('../Coachmark/Coachmark.js');
|
14
|
+
var context = require('../Coachmark/utils/context.js');
|
14
15
|
var index = require('../../node_modules/prop-types/index.js');
|
16
|
+
var React = require('react');
|
15
17
|
var cx = require('classnames');
|
16
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
19
|
var settings = require('../../settings.js');
|
18
|
-
var context = require('../Coachmark/utils/context.js');
|
19
20
|
|
20
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
21
22
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 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 { CoachmarkBeacon } from './CoachmarkBeacon';
|
8
|
+
export type { CoachmarkBeaconProps } from './CoachmarkBeacon';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React from 'react';
|
8
|
-
interface CoachmarkButtonProps {
|
8
|
+
export interface CoachmarkButtonProps {
|
9
9
|
/**
|
10
10
|
* Provide an optional class to be applied to the containing node.
|
11
11
|
*/
|
@@ -19,4 +19,3 @@ interface CoachmarkButtonProps {
|
|
19
19
|
* Use CoachmarkButton for the target prop of a Coachmark component.
|
20
20
|
*/
|
21
21
|
export declare let CoachmarkButton: React.ForwardRefExoticComponent<CoachmarkButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
22
|
-
export {};
|
@@ -10,12 +10,13 @@
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
13
|
-
var
|
13
|
+
var react = require('@carbon/react');
|
14
14
|
var index = require('../../node_modules/prop-types/index.js');
|
15
|
+
var React = require('react');
|
15
16
|
var cx = require('classnames');
|
16
17
|
var devtools = require('../../global/js/utils/devtools.js');
|
17
18
|
var settings = require('../../settings.js');
|
18
|
-
|
19
|
+
require('../Coachmark/Coachmark.js');
|
19
20
|
var context = require('../Coachmark/utils/context.js');
|
20
21
|
|
21
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -25,6 +26,7 @@ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
|
25
26
|
|
26
27
|
var _div;
|
27
28
|
var _excluded = ["className", "label"];
|
29
|
+
|
28
30
|
// Carbon and package components we use.
|
29
31
|
/* TODO: @import(s) of carbon components and other package components. */
|
30
32
|
|
@@ -1 +1,8 @@
|
|
1
|
-
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2023, 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 { CoachmarkButton } from './CoachmarkButton';
|
8
|
+
export type { CoachmarkButtonProps } from './CoachmarkButton';
|
@@ -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 CoachmarkFixedProps {
|
8
|
+
export interface CoachmarkFixedProps {
|
9
9
|
/**
|
10
10
|
* CoachmarkFixed should use a single CoachmarkOverlayElements component as a child.
|
11
11
|
*/
|
@@ -45,4 +45,3 @@ interface CoachmarkFixedProps {
|
|
45
45
|
* This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
|
46
46
|
*/
|
47
47
|
export declare let CoachmarkFixed: React.ForwardRefExoticComponent<CoachmarkFixedProps & React.RefAttributes<HTMLDivElement>>;
|
48
|
-
export {};
|