@carbon/ibm-products 2.43.2-canary.124 → 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/RemoveModal/RemoveModal.d.ts +1 -1
- package/es/components/RemoveModal/RemoveModal.js +3 -3
- 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/RemoveModal/RemoveModal.d.ts +1 -1
- package/lib/components/RemoveModal/RemoveModal.js +3 -3
- 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 +3 -3
- package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
@@ -6,12 +6,12 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { Button, InlineLoading, ButtonSet } from '@carbon/react';
|
9
10
|
import React__default from 'react';
|
11
|
+
import { allPropTypes, prepareProps } from '../../global/js/utils/props-helper.js';
|
10
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
13
|
import cx from 'classnames';
|
12
14
|
import { pkg } from '../../settings.js';
|
13
|
-
import { prepareProps, allPropTypes } from '../../global/js/utils/props-helper.js';
|
14
|
-
import { Button, ButtonSet, InlineLoading } from '@carbon/react';
|
15
15
|
|
16
16
|
var _InlineLoading;
|
17
17
|
var _excluded = ["className", "disabled", "kind", "label", "loading", "isExpressive"],
|
@@ -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';
|
@@ -16,7 +16,7 @@ import { AddSelectList } from './AddSelectList.js';
|
|
16
16
|
import { AddSelectColumn } from './AddSelectColumn.js';
|
17
17
|
import { AddSelectFilter } from './AddSelectFilter.js';
|
18
18
|
import { AddSelectSort } from './AddSelectSort.js';
|
19
|
-
import {
|
19
|
+
import { sortItems, getFilteredItems } from './add-select-utils.js';
|
20
20
|
import { useItemSort } from './hooks/useItemSort.js';
|
21
21
|
import useParentSelect from './hooks/useParentSelect.js';
|
22
22
|
import usePath from './hooks/usePath.js';
|
@@ -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 {};
|
@@ -8,10 +8,10 @@
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef } from 'react';
|
10
10
|
import { Grid } from '@carbon/react';
|
11
|
-
import cx from 'classnames';
|
12
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
|
-
import
|
12
|
+
import cx from 'classnames';
|
14
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
|
+
import { pkg } from '../../settings.js';
|
15
15
|
|
16
16
|
var _excluded = ["children", "className", "grid"];
|
17
17
|
var blockClass = "".concat(pkg.prefix, "--cascade");
|
@@ -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
|
*/
|
@@ -6,17 +6,17 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { IconButton, Button } from '@carbon/react';
|
10
|
+
import { Themes, Kinds } from './Checklist.types.js';
|
9
11
|
import React__default, { useState, useRef, useEffect } from 'react';
|
12
|
+
import { ChecklistChart } from './ChecklistChart.js';
|
13
|
+
import { ChecklistIcon } from './ChecklistIcon.js';
|
14
|
+
import { ChevronUp } from '@carbon/react/icons';
|
10
15
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
16
|
import cx from 'classnames';
|
12
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
14
18
|
import { pkg } from '../../settings.js';
|
15
|
-
import
|
16
|
-
import { ChevronUp } from '@carbon/react/icons';
|
17
|
-
import { ChecklistIcon } from './ChecklistIcon.js';
|
18
|
-
import { ChecklistChart } from './ChecklistChart.js';
|
19
|
-
import { Themes, Kinds } from './Checklist.types.js';
|
19
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
20
20
|
|
21
21
|
var _excluded = ["chartValue", "chartLabel", "checklistAriaLabel", "checklistToggleAriaLabel", "className", "onClickViewAll", "onToggle", "open", "enableToggle", "taskLists", "theme", "title", "toggleLabel", "toggleLabelAlign", "viewAllLabel"];
|
22
22
|
|
@@ -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 {};
|
@@ -7,13 +7,13 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useState, useRef, useCallback, useEffect } from 'react';
|
10
|
-
import
|
10
|
+
import { useClickOutsideElement, useWindowEvent } from './utils/hooks.js';
|
11
|
+
import { COACHMARK_OVERLAY_KIND } from './utils/enums.js';
|
12
|
+
import { CoachmarkContext } from './utils/context.js';
|
13
|
+
import { CoachmarkOverlay } from './CoachmarkOverlay.js';
|
11
14
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
12
15
|
import { createPortal } from 'react-dom';
|
13
|
-
import
|
14
|
-
import { CoachmarkContext } from './utils/context.js';
|
15
|
-
import { COACHMARK_OVERLAY_KIND } from './utils/enums.js';
|
16
|
-
import { useClickOutsideElement, useWindowEvent } from './utils/hooks.js';
|
16
|
+
import cx from 'classnames';
|
17
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
18
18
|
import { pkg } from '../../settings.js';
|
19
19
|
import { throttle } from '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 {};
|
@@ -6,12 +6,13 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import
|
9
|
+
import '../Coachmark/Coachmark.js';
|
10
|
+
import { useCoachmark } from '../Coachmark/utils/context.js';
|
10
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
12
|
+
import React__default from 'react';
|
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 { useCoachmark } from '../Coachmark/utils/context.js';
|
15
16
|
|
16
17
|
var _div, _circle;
|
17
18
|
var _excluded = ["label", "className", "kind"];
|
@@ -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 {};
|
@@ -6,16 +6,18 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import
|
9
|
+
import { Button } from '@carbon/react';
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
+
import React__default from 'react';
|
11
12
|
import cx from 'classnames';
|
12
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
14
|
import { pkg } from '../../settings.js';
|
14
|
-
import
|
15
|
+
import '../Coachmark/Coachmark.js';
|
15
16
|
import { useCoachmark } from '../Coachmark/utils/context.js';
|
16
17
|
|
17
18
|
var _div;
|
18
19
|
var _excluded = ["className", "label"];
|
20
|
+
|
19
21
|
// Carbon and package components we use.
|
20
22
|
/* TODO: @import(s) of carbon components and other package components. */
|
21
23
|
|
@@ -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 {};
|
@@ -7,19 +7,20 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useRef, useState, useCallback, useEffect } from 'react';
|
10
|
+
import { COACHMARK_OVERLAY_KIND } from '../Coachmark/utils/enums.js';
|
11
|
+
import { CoachmarkContext } from '../Coachmark/utils/context.js';
|
12
|
+
import { CoachmarkOverlay } from '../Coachmark/CoachmarkOverlay.js';
|
13
|
+
import { CoachmarkTagline } from '../Coachmark/CoachmarkTagline.js';
|
10
14
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
15
|
+
import { createPortal } from 'react-dom';
|
11
16
|
import cx from 'classnames';
|
12
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
18
|
import { pkg } from '../../settings.js';
|
14
|
-
import { createPortal } from 'react-dom';
|
15
|
-
import { CoachmarkOverlay } from '../Coachmark/CoachmarkOverlay.js';
|
16
|
-
import { CoachmarkTagline } from '../Coachmark/CoachmarkTagline.js';
|
17
|
-
import { CoachmarkContext } from '../Coachmark/utils/context.js';
|
18
|
-
import { COACHMARK_OVERLAY_KIND } from '../Coachmark/utils/enums.js';
|
19
19
|
import { useReducedMotion } from 'framer-motion';
|
20
20
|
import { useIsomorphicEffect } from '../../global/js/hooks/useIsomorphicEffect.js';
|
21
21
|
|
22
22
|
var _excluded = ["children", "className", "onClose", "portalTarget", "tagline", "theme"];
|
23
|
+
|
23
24
|
// Carbon and package components we use.
|
24
25
|
/* TODO: @import(s) of carbon components and other package components. */
|
25
26
|
|
@@ -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 { CoachmarkFixed } from './CoachmarkFixed';
|
8
|
+
export type { CoachmarkFixedProps } from './CoachmarkFixed';
|
@@ -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 CoachmarkOverlayElementProps {
|
8
|
+
export interface CoachmarkOverlayElementProps {
|
9
9
|
/**
|
10
10
|
* An optional button can be rendered below the description.
|
11
11
|
* This can be a link, button, Coachmark button, etc.
|
@@ -30,4 +30,3 @@ interface CoachmarkOverlayElementProps {
|
|
30
30
|
* in a carousel fashion.
|
31
31
|
*/
|
32
32
|
export declare let CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
|
33
|
-
export {};
|
@@ -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 { CoachmarkOverlayElement } from './CoachmarkOverlayElement';
|
8
|
+
export type { CoachmarkOverlayElementProps } from './CoachmarkOverlayElement';
|
@@ -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 CoachmarkOverlayElementsProps {
|
8
|
+
export interface CoachmarkOverlayElementsProps {
|
9
9
|
/**
|
10
10
|
* CoachmarkOverlayElements should be used with one or many CoachmarkOverlayElement components as children.
|
11
11
|
* @see CoachmarkOverlayElement
|
@@ -47,4 +47,3 @@ interface CoachmarkOverlayElementsProps {
|
|
47
47
|
* components in a carousel fashion.
|
48
48
|
*/
|
49
49
|
export declare let CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
|
50
|
-
export {};
|
@@ -6,19 +6,22 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { Button } from '@carbon/react';
|
9
10
|
import React__default, { useRef, useState, Children, useEffect } from 'react';
|
11
|
+
import { Carousel } from '../Carousel/Carousel.js';
|
12
|
+
import '../Carousel/CarouselItem.js';
|
10
13
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
14
|
+
import { clamp } from 'lodash';
|
11
15
|
import cx from 'classnames';
|
12
16
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
|
-
import { pkg } from '../../settings.js';
|
14
|
-
import { Button } from '@carbon/react';
|
15
|
-
import { clamp } from 'lodash';
|
16
17
|
import pconsole from '../../global/js/utils/pconsole.js';
|
18
|
+
import { pkg } from '../../settings.js';
|
19
|
+
import '../Coachmark/Coachmark.js';
|
17
20
|
import { useCoachmark } from '../Coachmark/utils/context.js';
|
18
21
|
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
19
|
-
import { Carousel } from '../Carousel/Carousel.js';
|
20
22
|
|
21
23
|
var _excluded = ["className", "children", "isVisible", "media", "nextButtonText", "previousButtonLabel", "closeButtonLabel"];
|
24
|
+
|
22
25
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
23
26
|
var blockClass = "".concat(pkg.prefix, "--coachmark-overlay-elements");
|
24
27
|
var componentName = 'CoachmarkOverlayElements';
|
@@ -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 { CoachmarkOverlayElements } from './CoachmarkOverlayElements';
|
8
|
+
export type { CoachmarkOverlayElementsProps } from './CoachmarkOverlayElements';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import React, { ComponentProps, ReactNode } from 'react';
|
8
|
-
interface ComboButtonProps extends ComponentProps<'div'> {
|
8
|
+
export interface ComboButtonProps extends ComponentProps<'div'> {
|
9
9
|
/** Provide the contents of the `ComboButton` */
|
10
10
|
children?: ReactNode;
|
11
11
|
/** Provide an optional class to be applied to the containing node */
|
@@ -6,13 +6,13 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, toArray as _toArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import { ChevronUp, ChevronDown } from '@carbon/react/icons';
|
10
9
|
import { Button, OverflowMenu, OverflowMenuItem } from '@carbon/react';
|
11
|
-
import
|
12
|
-
import { p as propTypesExports } from '../../node_modules/prop-types/index.js';
|
13
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
10
|
+
import { ChevronUp, ChevronDown } from '@carbon/react/icons';
|
14
11
|
import React__default, { forwardRef, useRef, useState, Children, createElement } from 'react';
|
12
|
+
import { p as propTypesExports } from '../../node_modules/prop-types/index.js';
|
13
|
+
import cx from 'classnames';
|
15
14
|
import { pkg } from '../../settings.js';
|
15
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
16
16
|
|
17
17
|
var _excluded = ["children", "className", "overflowMenu"],
|
18
18
|
_excluded2 = ["children", "renderIcon"];
|
@@ -1,2 +1,9 @@
|
|
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 { ComboButton } from './ComboButton';
|
8
|
+
export { ComboButtonItem } from './ComboButtonItem';
|
9
|
+
export type { ComboButtonProps } from './ComboButton';
|
@@ -117,7 +117,7 @@ type CreateFullPageBaseProps = {
|
|
117
117
|
*/
|
118
118
|
title?: string;
|
119
119
|
};
|
120
|
-
type CreateFullPageProps = CreateFullPageBaseProps & CreateFullPageBreadcrumbsProps;
|
120
|
+
export type CreateFullPageProps = CreateFullPageBaseProps & CreateFullPageBreadcrumbsProps;
|
121
121
|
/**
|
122
122
|
* Use with creations that must be completed in order for a service to be usable.
|
123
123
|
*
|
@@ -6,22 +6,22 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { Form, ComposedModal, ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react';
|
9
10
|
import React__default, { useState, useEffect, createContext } from 'react';
|
11
|
+
import { SimpleHeader, overflowAriaLabel_required_if_breadcrumbs_exist } from '../SimpleHeader/SimpleHeader.js';
|
12
|
+
import { ActionSet } from '../ActionSet/ActionSet.js';
|
10
13
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
14
|
import cx from 'classnames';
|
12
15
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
|
-
import { pkg } from '../../settings.js';
|
14
|
-
import { Form, ComposedModal, ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react';
|
15
|
-
import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
|
16
16
|
import { getNumberOfHiddenSteps } from '../../global/js/utils/getNumberOfHiddenSteps.js';
|
17
|
-
import {
|
17
|
+
import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
|
18
|
+
import { pkg } from '../../settings.js';
|
18
19
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
19
20
|
import { useCreateComponentFocus } from '../../global/js/hooks/useCreateComponentFocus.js';
|
20
21
|
import { useValidCreateStepCount } from '../../global/js/hooks/useValidCreateStepCount.js';
|
21
22
|
import { useResetCreateComponent } from '../../global/js/hooks/useResetCreateComponent.js';
|
22
23
|
import { useCreateComponentStepChange } from '../../global/js/hooks/useCreateComponentStepChange.js';
|
23
24
|
import { CreateInfluencer } from '../CreateInfluencer/CreateInfluencer.js';
|
24
|
-
import { ActionSet } from '../ActionSet/ActionSet.js';
|
25
25
|
|
26
26
|
var _excluded = ["breadcrumbsOverflowAriaLabel", "breadcrumbs", "backButtonText", "cancelButtonText", "children", "className", "initialStep", "maxVisibleBreadcrumbs", "modalDangerButtonText", "modalDescription", "modalSecondaryButtonText", "modalTitle", "nextButtonText", "onClose", "onRequestSubmit", "firstFocusElement", "submitButtonText", "noTrailingSlash", "title", "secondaryTitle"];
|
27
27
|
var blockClass = "".concat(pkg.prefix, "--create-full-page");
|
@@ -1,2 +1,9 @@
|
|
1
|
-
|
2
|
-
|
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 { CreateFullPage } from './CreateFullPage';
|
8
|
+
export { CreateFullPageStep } from './CreateFullPageStep';
|
9
|
+
export type { CreateFullPageProps } from './CreateFullPage';
|
@@ -5,9 +5,9 @@
|
|
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 } from 'react';
|
9
8
|
import { ComposedModal } from '@carbon/react';
|
10
|
-
|
9
|
+
import React, { ReactNode } from 'react';
|
10
|
+
export interface CreateModalProps extends React.ComponentProps<typeof ComposedModal> {
|
11
11
|
/**
|
12
12
|
* Specify an optional className to be applied to the modal root node
|
13
13
|
*/
|
@@ -69,4 +69,3 @@ immediately apparent to the user, with a clear and obvious path to completion.
|
|
69
69
|
export declare let CreateModal: React.ForwardRefExoticComponent<CreateModalProps & {
|
70
70
|
children?: React.ReactNode;
|
71
71
|
} & React.RefAttributes<unknown>>;
|
72
|
-
export {};
|
@@ -6,8 +6,8 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
10
9
|
import { ComposedModal, ModalHeader, ModalBody, Form, ModalFooter, Button } from '@carbon/react';
|
10
|
+
import React__default from 'react';
|
11
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
12
12
|
import cx from 'classnames';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
@@ -1 +1,2 @@
|
|
1
|
-
export { CreateModal } from
|
1
|
+
export { CreateModal } from './CreateModal';
|
2
|
+
export type { CreateModalProps } from './CreateModal';
|
@@ -1 +1,7 @@
|
|
1
|
-
|
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 { CreateSidePanel } from './CreateSidePanel';
|
@@ -4,7 +4,7 @@
|
|
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, {
|
7
|
+
import React, { Dispatch, PropsWithChildren, ReactNode, SetStateAction } from 'react';
|
8
8
|
export interface StepsContextType {
|
9
9
|
currentStep: number;
|
10
10
|
setIsDisabled: Dispatch<SetStateAction<boolean>>;
|
@@ -16,7 +16,7 @@ export interface StepsContextType {
|
|
16
16
|
}
|
17
17
|
export declare const StepsContext: React.Context<StepsContextType | null>;
|
18
18
|
export declare const StepNumberContext: React.Context<number>;
|
19
|
-
interface CreateTearsheetProps extends PropsWithChildren {
|
19
|
+
export interface CreateTearsheetProps extends PropsWithChildren {
|
20
20
|
/**
|
21
21
|
* The back button text
|
22
22
|
*/
|
@@ -7,14 +7,14 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { forwardRef, useState, useRef, useEffect, createContext } from 'react';
|
10
|
-
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
-
import cx from 'classnames';
|
12
10
|
import { Form } from '@carbon/react';
|
11
|
+
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
12
|
import { TearsheetShell } from '../Tearsheet/TearsheetShell.js';
|
14
|
-
import
|
13
|
+
import cx from 'classnames';
|
15
14
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
16
|
-
import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
|
17
15
|
import { getNumberOfHiddenSteps } from '../../global/js/utils/getNumberOfHiddenSteps.js';
|
16
|
+
import { lastIndexInArray } from '../../global/js/utils/lastIndexInArray.js';
|
17
|
+
import { pkg } from '../../settings.js';
|
18
18
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
19
19
|
import { useCreateComponentFocus } from '../../global/js/hooks/useCreateComponentFocus.js';
|
20
20
|
import { useValidCreateStepCount } from '../../global/js/hooks/useValidCreateStepCount.js';
|
@@ -1,3 +1,10 @@
|
|
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 { CreateTearsheet } from './CreateTearsheet';
|
8
|
+
export { CreateTearsheetStep } from './CreateTearsheetStep';
|
9
|
+
export { CreateTearsheetDivider } from './CreateTearsheetDivider';
|
10
|
+
export type { CreateTearsheetProps } from './CreateTearsheet';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
8
8
|
type VerticalPosition = 'normal' | 'lower';
|
9
|
-
interface CreateTearsheetNarrowProps extends PropsWithChildren {
|
9
|
+
export interface CreateTearsheetNarrowProps extends PropsWithChildren {
|
10
10
|
/**
|
11
11
|
* Provide the contents of the CreateTearsheetNarrow.
|
12
12
|
*/
|