@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,6 +10,8 @@ import React__default, { forwardRef, useState } from 'react';
|
|
10
10
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { Tag } from '@carbon/react';
|
13
|
+
import { Tearsheet } from '../Tearsheet/Tearsheet.js';
|
14
|
+
import { TearsheetNarrow } from '../Tearsheet/TearsheetNarrow.js';
|
13
15
|
import { AddSelectSidebar } from './AddSelectSidebar.js';
|
14
16
|
import { AddSelectBreadcrumbs } from './AddSelectBreadcrumbs.js';
|
15
17
|
import { AddSelectList } from './AddSelectList.js';
|
@@ -22,8 +24,6 @@ import useParentSelect from './hooks/useParentSelect.js';
|
|
22
24
|
import usePath from './hooks/usePath.js';
|
23
25
|
import { pkg } from '../../settings.js';
|
24
26
|
import { NotFoundEmptyState } from '../EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js';
|
25
|
-
import { Tearsheet } from '../Tearsheet/Tearsheet.js';
|
26
|
-
import { TearsheetNarrow } from '../Tearsheet/TearsheetNarrow.js';
|
27
27
|
|
28
28
|
var _excluded = ["className", "clearFiltersText", "closeIconDescription", "columnInputPlaceholder", "defaultModifiers", "description", "filterByLabel", "globalFilterOpts", "globalFiltersLabel", "globalFiltersIconDescription", "globalFiltersPlaceholderText", "globalFiltersPrimaryButtonText", "globalFiltersSecondaryButtonText", "globalSearchLabel", "globalSearchPlaceholder", "globalSortBy", "illustrationTheme", "influencerTitle", "items", "itemsLabel", "metaIconDescription", "metaPanelTitle", "multi", "navIconDescription", "noResultsDescription", "noResultsTitle", "noSelectionDescription", "noSelectionTitle", "normalizedItems", "onClose", "onCloseButtonText", "onSubmit", "onSubmitButtonText", "open", "portalTarget", "searchResultsTitle", "sortByLabel", "title", "useNormalizedItems"];
|
29
29
|
var blockClass = "".concat(pkg.prefix, "--add-select");
|
@@ -11,6 +11,7 @@ import React__default, { useRef, useState, Children, useEffect } from 'react';
|
|
11
11
|
import { Carousel } from '../Carousel/Carousel.js';
|
12
12
|
import '../Carousel/CarouselItem.js';
|
13
13
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
14
|
+
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
14
15
|
import { clamp } from 'lodash';
|
15
16
|
import cx from 'classnames';
|
16
17
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
@@ -18,7 +19,6 @@ import pconsole from '../../global/js/utils/pconsole.js';
|
|
18
19
|
import { pkg } from '../../settings.js';
|
19
20
|
import '../Coachmark/Coachmark.js';
|
20
21
|
import { useCoachmark } from '../Coachmark/utils/context.js';
|
21
|
-
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
22
22
|
|
23
23
|
var _excluded = ["className", "children", "isVisible", "media", "nextButtonText", "previousButtonLabel", "closeButtonLabel"];
|
24
24
|
|
@@ -16,8 +16,8 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
|
16
16
|
import { pkg } from '../../settings.js';
|
17
17
|
import { createPortal } from 'react-dom';
|
18
18
|
import { CoachmarkHeader } from '../Coachmark/CoachmarkHeader.js';
|
19
|
-
import { useIsomorphicEffect } from '../../global/js/hooks/useIsomorphicEffect.js';
|
20
19
|
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
20
|
+
import { useIsomorphicEffect } from '../../global/js/hooks/useIsomorphicEffect.js';
|
21
21
|
|
22
22
|
var _excluded = ["className", "description", "isOpen", "media", "navLinkLabels", "onClickNavItem", "onClose", "portalTarget", "closeButtonLabel", "title"];
|
23
23
|
// Carbon and package components we use.
|
@@ -12,8 +12,8 @@ import cx from 'classnames';
|
|
12
12
|
import { pkg } from '../../settings.js';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { Form } from '@carbon/react';
|
15
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
16
15
|
import { SidePanel } from '../SidePanel/SidePanel.js';
|
16
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
17
|
|
18
18
|
var _excluded = ["className", "children", "disableSubmit", "formTitle", "formDescription", "id", "onRequestClose", "onRequestSubmit", "open", "primaryButtonText", "secondaryButtonText", "selectorPageContent", "selectorPrimaryFocus", "subtitle", "title"];
|
19
19
|
|
@@ -14,6 +14,7 @@ import { CLEAR_SINGLE_FILTER, CLEAR_FILTERS } from './addons/Filtering/constants
|
|
14
14
|
import DatagridBody from './DatagridBody.js';
|
15
15
|
import DatagridHead from './DatagridHead.js';
|
16
16
|
import DatagridToolbar from './DatagridToolbar.js';
|
17
|
+
import FilterSummary from '../../FilterSummary/FilterSummary.js';
|
17
18
|
import PropTypes from '../../../node_modules/prop-types/index.js';
|
18
19
|
import cx from 'classnames';
|
19
20
|
import { handleGridFocus } from './addons/InlineEdit/handleGridFocus.js';
|
@@ -26,7 +27,6 @@ import { useClickOutside } from '../../../global/js/hooks/useClickOutside.js';
|
|
26
27
|
import { useMultipleKeyTracking } from '../../DataSpreadsheet/hooks/useMultipleKeyTracking.js';
|
27
28
|
import useSubscribeToEventEmitter from './addons/Filtering/hooks/useSubscribeToEventEmitter.js';
|
28
29
|
import FilterPanel from './addons/Filtering/FilterPanel.js';
|
29
|
-
import FilterSummary from '../../FilterSummary/FilterSummary.js';
|
30
30
|
|
31
31
|
var blockClass = "".concat(pkg.prefix, "--datagrid");
|
32
32
|
var gcClass = "".concat(blockClass, "__grid-container");
|
package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js
CHANGED
@@ -8,10 +8,11 @@
|
|
8
8
|
import { slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2 } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default, { useState, useCallback, useEffect } from 'react';
|
10
10
|
import PropTypes from '../../../../../node_modules/prop-types/index.js';
|
11
|
+
import '../../../../Tearsheet/Tearsheet.js';
|
12
|
+
import { TearsheetNarrow } from '../../../../Tearsheet/TearsheetNarrow.js';
|
11
13
|
import Columns from './Columns.js';
|
12
14
|
import Actions from './Actions.js';
|
13
15
|
import { pkg } from '../../../../../settings.js';
|
14
|
-
import { TearsheetNarrow } from '../../../../Tearsheet/TearsheetNarrow.js';
|
15
16
|
|
16
17
|
var blockClass = "".concat(pkg.prefix, "--datagrid");
|
17
18
|
var CustomizeColumnsTearsheet = function CustomizeColumnsTearsheet(_ref) {
|
@@ -10,11 +10,11 @@ import '../../global/js/utils/props-helper.js';
|
|
10
10
|
import React__default from 'react';
|
11
11
|
import { Form } from '@carbon/react';
|
12
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
|
+
import { SidePanel } from '../SidePanel/SidePanel.js';
|
13
14
|
import cx from 'classnames';
|
14
15
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
15
16
|
import { pkg } from '../../settings.js';
|
16
17
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
|
-
import { SidePanel } from '../SidePanel/SidePanel.js';
|
18
18
|
|
19
19
|
var _excluded = ["children", "className", "disableSubmit", "id", "formTitle", "formDescription", "onRequestClose", "onRequestSubmit", "open", "placement", "primaryButtonText", "secondaryButtonText", "selectorPrimaryFocus", "selectorPageContent", "size", "slideIn", "subtitle", "title"];
|
20
20
|
|
@@ -7,11 +7,11 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
+
import { ProductiveCard } from '../ProductiveCard/ProductiveCard.js';
|
10
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
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 { 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
|
|
@@ -1,37 +1,42 @@
|
|
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
|
+
import React from 'react';
|
8
|
+
import PropTypes from 'prop-types';
|
9
|
+
/**
|
10
|
+
* Our FeatureFlagContext is used alongside the FeatureFlags component to enable
|
11
|
+
* or disable feature flags in a given React tree
|
12
|
+
*/
|
13
|
+
declare const FeatureFlagContext: React.Context<any>;
|
1
14
|
/**
|
2
15
|
* Supports an object of feature flag values with the `flags` prop, merging them
|
3
16
|
* along with the current `FeatureFlagContext` to provide consumers to check if
|
4
17
|
* a feature flag is enabled or disabled in a given React tree
|
5
18
|
*/
|
6
|
-
|
19
|
+
declare function FeatureFlags({ children, flags }: {
|
7
20
|
children: any;
|
8
21
|
flags?: {} | undefined;
|
9
22
|
}): import("react/jsx-runtime").JSX.Element;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
23
|
+
declare namespace FeatureFlags {
|
24
|
+
var propTypes: {
|
25
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
26
|
+
/**
|
27
|
+
* Provide the feature flags to enabled or disabled in the current React tree
|
28
|
+
*/
|
29
|
+
flags: PropTypes.Requireable<{
|
14
30
|
[x: string]: boolean | null | undefined;
|
15
31
|
}>;
|
16
|
-
}
|
32
|
+
};
|
17
33
|
}
|
18
34
|
/**
|
19
|
-
*
|
20
|
-
* or disable feature flags in a given React tree
|
35
|
+
* Access whether a given flag is enabled or disabled in a given FeatureFlagContext
|
21
36
|
*/
|
22
|
-
|
37
|
+
declare function useFeatureFlag(flag: string): boolean;
|
23
38
|
/**
|
24
39
|
* Access all feature flag information for the given FeatureFlagContext
|
25
|
-
*
|
26
|
-
* @returns {FeatureFlagScope}
|
27
|
-
*/
|
28
|
-
export function useFeatureFlags(): FeatureFlagScope;
|
29
|
-
/**
|
30
|
-
* Access whether a given flag is enabled or disabled in a given
|
31
|
-
* FeatureFlagContext
|
32
|
-
*
|
33
|
-
* @returns {boolean}
|
34
40
|
*/
|
35
|
-
|
36
|
-
|
37
|
-
import React from 'react';
|
41
|
+
declare function useFeatureFlags(): any;
|
42
|
+
export { FeatureFlags, FeatureFlagContext, useFeatureFlags, useFeatureFlag };
|
@@ -100,21 +100,15 @@ function useChangedValue(value, compare, callback) {
|
|
100
100
|
}
|
101
101
|
|
102
102
|
/**
|
103
|
-
* Access whether a given flag is enabled or disabled in a given
|
104
|
-
* FeatureFlagContext
|
105
|
-
*
|
106
|
-
* @returns {boolean}
|
103
|
+
* Access whether a given flag is enabled or disabled in a given FeatureFlagContext
|
107
104
|
*/
|
108
105
|
function useFeatureFlag(flag) {
|
109
106
|
var scope = useContext(FeatureFlagContext);
|
110
|
-
// console.log(scope);
|
111
107
|
return scope.enabled(flag);
|
112
108
|
}
|
113
109
|
|
114
110
|
/**
|
115
111
|
* Access all feature flag information for the given FeatureFlagContext
|
116
|
-
*
|
117
|
-
* @returns {FeatureFlagScope}
|
118
112
|
*/
|
119
113
|
function useFeatureFlags() {
|
120
114
|
return useContext(FeatureFlagContext);
|
@@ -125,9 +119,6 @@ function useFeatureFlags() {
|
|
125
119
|
* comparison since the objects we are comparing are objects with boolean flags
|
126
120
|
* from the flags prop in the `FeatureFlags` component
|
127
121
|
*
|
128
|
-
* @param {object} a
|
129
|
-
* @param {object} b
|
130
|
-
* @returns {boolean}
|
131
122
|
*/
|
132
123
|
function isEqual(a, b) {
|
133
124
|
if (a === b) {
|
@@ -12,8 +12,8 @@ import cx from 'classnames';
|
|
12
12
|
import { AccordionItem, ListItem } from '@carbon/react';
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
|
-
import { FilterPanelLabel } from '../FilterPanelLabel/FilterPanelLabel.js';
|
16
15
|
import { TruncatedList } from '../../TruncatedList/TruncatedList.js';
|
16
|
+
import { FilterPanelLabel } from '../FilterPanelLabel/FilterPanelLabel.js';
|
17
17
|
|
18
18
|
var _excluded = ["accordionItemProps", "truncatedListProps", "children", "className", "count", "labelText", "title"];
|
19
19
|
|
@@ -6,20 +6,20 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default, { useRef, useState } from 'react';
|
10
|
-
import { Button, IconButton } from '@carbon/react';
|
11
9
|
import { AnimatePresence, motion } from 'framer-motion';
|
10
|
+
import { Button, IconButton } from '@carbon/react';
|
11
|
+
import { DURATIONS, EASINGS } from '../../global/js/utils/motionConstants.js';
|
12
|
+
import React__default, { useRef, useState } from 'react';
|
12
13
|
import { ChevronDown } from '@carbon/react/icons';
|
13
14
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
15
|
+
import { TagSet } from '../TagSet/TagSet.js';
|
14
16
|
import cx from 'classnames';
|
15
|
-
import { pkg } from '../../settings.js';
|
16
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
|
-
import { DURATIONS, EASINGS } from '../../global/js/utils/motionConstants.js';
|
18
17
|
import debounce from 'lodash/debounce';
|
19
18
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
19
|
+
import { pkg } from '../../settings.js';
|
20
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
20
21
|
import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
|
21
22
|
import { useWindowResize } from '../../global/js/hooks/useWindowResize.js';
|
22
|
-
import { TagSet } from '../TagSet/TagSet.js';
|
23
23
|
|
24
24
|
var _excluded = ["className", "clearFiltersText", "clearFilters", "filters", "renderLabel", "overflowType", "clearButtonInline"],
|
25
25
|
_excluded2 = ["key", "value"];
|
@@ -159,6 +159,5 @@ FilterSummary.propTypes = {
|
|
159
159
|
overflowType: PropTypes.oneOf(['default', 'tag']),
|
160
160
|
renderLabel: PropTypes.func
|
161
161
|
};
|
162
|
-
var FilterSummary$1 = FilterSummary;
|
163
162
|
|
164
|
-
export { FilterSummary
|
163
|
+
export { FilterSummary as default };
|
@@ -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 { default as FilterSummary } from './FilterSummary';
|
8
|
+
export type { FilterSummaryProps } from './FilterSummary';
|
@@ -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 FullPageErrorProps {
|
8
|
+
export interface FullPageErrorProps {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the FullPageError.
|
11
11
|
*/
|
@@ -37,4 +37,3 @@ interface FullPageErrorProps {
|
|
37
37
|
* This is typically caused by issues with the requested URL or access permissions.
|
38
38
|
*/
|
39
39
|
export declare let FullPageError: React.ForwardRefExoticComponent<FullPageErrorProps & React.RefAttributes<HTMLDivElement>>;
|
40
|
-
export {};
|
@@ -6,15 +6,15 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { Grid, Column } from '@carbon/react';
|
9
10
|
import React__default from 'react';
|
11
|
+
import { Error403SVG } from './assets/Error403SVG.js';
|
12
|
+
import { Error404SVG } from './assets/Error404SVG.js';
|
13
|
+
import { ErrorGenericSVG } from './assets/ErrorGenericSVG.js';
|
10
14
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
15
|
import cx from 'classnames';
|
12
16
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
17
|
import { pkg } from '../../settings.js';
|
14
|
-
import { ErrorGenericSVG } from './assets/ErrorGenericSVG.js';
|
15
|
-
import { Error404SVG } from './assets/Error404SVG.js';
|
16
|
-
import { Error403SVG } from './assets/Error403SVG.js';
|
17
|
-
import { Grid, Column } from '@carbon/react';
|
18
18
|
|
19
19
|
var _excluded = ["children", "className", "description", "label", "kind", "title"];
|
20
20
|
|
@@ -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 { FullPageError } from './FullPageError';
|
8
|
+
export type { FullPageErrorProps } from './FullPageError';
|
@@ -10,7 +10,7 @@ type MetaData = {
|
|
10
10
|
icon?: () => ReactNode;
|
11
11
|
iconDescription?: string;
|
12
12
|
};
|
13
|
-
interface GetStartedCardProps extends PropsWithChildren {
|
13
|
+
export interface GetStartedCardProps extends PropsWithChildren {
|
14
14
|
/**
|
15
15
|
* Provide an optional class to be applied to the containing node.
|
16
16
|
*/
|
@@ -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 { GetStartedCard } from './GetStartedCard';
|
8
|
+
export type { GetStartedCardProps } from './GetStartedCard';
|
@@ -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 GuidebannerProps {
|
8
|
+
export interface GuidebannerProps {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the Guidebanner.
|
11
11
|
* One or more GuidebannerElement components are required.
|
@@ -63,4 +63,3 @@ interface GuidebannerProps {
|
|
63
63
|
* to introduce foundational concepts related to the page's content.
|
64
64
|
*/
|
65
65
|
export declare let Guidebanner: React.ForwardRefExoticComponent<GuidebannerProps & React.RefAttributes<HTMLDivElement>>;
|
66
|
-
export {};
|
@@ -6,14 +6,14 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { Button, IconButton } from '@carbon/react';
|
10
|
+
import { Idea, CaretLeft, CaretRight, Close } from '@carbon/react/icons';
|
9
11
|
import React__default, { useRef, useState } from 'react';
|
10
|
-
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
-
import cx from 'classnames';
|
12
12
|
import { blue90, purple70 } from '../../node_modules/@carbon/colors/es/index.js';
|
13
|
-
import { Idea, CaretLeft, CaretRight, Close } from '@carbon/react/icons';
|
14
|
-
import { Button, IconButton } from '@carbon/react';
|
15
13
|
import { Carousel } from '../Carousel/Carousel.js';
|
16
14
|
import '../Carousel/CarouselItem.js';
|
15
|
+
import PropTypes from '../../node_modules/prop-types/index.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 uuidv4 from '../../global/js/utils/uuidv4.js';
|
@@ -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 GuidebannerElementProps {
|
8
|
+
export interface GuidebannerElementProps {
|
9
9
|
/**
|
10
10
|
* An optional button can be rendered below the description.
|
11
11
|
* This can be a link, button, Coachmark button, etc.
|
@@ -29,4 +29,3 @@ interface GuidebannerElementProps {
|
|
29
29
|
* and acts as a container for a CarouselItem.
|
30
30
|
*/
|
31
31
|
export declare let GuidebannerElement: React.ForwardRefExoticComponent<GuidebannerElementProps & React.RefAttributes<HTMLDivElement>>;
|
32
|
-
export {};
|
@@ -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 GuidebannerElementButtonProps {
|
8
|
+
export interface GuidebannerElementButtonProps {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the GuidebannerElementLink.
|
11
11
|
*/
|
@@ -27,5 +27,4 @@ interface GuidebannerElementButtonProps {
|
|
27
27
|
/**
|
28
28
|
* One of two buttons styled specifically for the GuidebannerElement.
|
29
29
|
*/
|
30
|
-
export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<
|
31
|
-
export {};
|
30
|
+
export declare let GuidebannerElementButton: React.ForwardRefExoticComponent<GuidebannerElementButtonProps & React.RefAttributes<any>>;
|
@@ -7,10 +7,10 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
-
import cx from 'classnames';
|
12
10
|
import { Button } from '@carbon/react';
|
13
11
|
import { Crossroads } from '@carbon/react/icons';
|
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
15
|
import { pkg } from '../../settings.js';
|
16
16
|
|
@@ -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 GuidebannerElementLinkProps {
|
8
|
+
export interface GuidebannerElementLinkProps {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the GuidebannerElementLink.
|
11
11
|
*/
|
@@ -18,5 +18,4 @@ interface GuidebannerElementLinkProps {
|
|
18
18
|
/**
|
19
19
|
* A link styled specifically for the GuidebannerElement.
|
20
20
|
*/
|
21
|
-
export declare let GuidebannerElementLink: React.ForwardRefExoticComponent<GuidebannerElementLinkProps & React.RefAttributes<
|
22
|
-
export {};
|
21
|
+
export declare let GuidebannerElementLink: React.ForwardRefExoticComponent<GuidebannerElementLinkProps & React.RefAttributes<any>>;
|
@@ -7,9 +7,9 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
+
import { Link } from '@carbon/react';
|
10
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
12
|
import cx from 'classnames';
|
12
|
-
import { Link } from '@carbon/react';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
15
15
|
|
@@ -1,4 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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 { Guidebanner } from './Guidebanner';
|
8
|
+
export { GuidebannerElement } from './GuidebannerElement';
|
9
|
+
export { GuidebannerElementButton } from './GuidebannerElementButton';
|
10
|
+
export { GuidebannerElementLink } from './GuidebannerElementLink';
|
11
|
+
export type { GuidebannerProps } from './Guidebanner';
|
12
|
+
export type { GuidebannerElementProps } from './GuidebannerElement';
|
13
|
+
export type { GuidebannerElementButtonProps } from './GuidebannerElementButton';
|
14
|
+
export type { GuidebannerElementLinkProps } from './GuidebannerElementLink';
|
@@ -6,15 +6,15 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2, toConsumableArray as _toConsumableArray, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
+
import { usePrefix, ComposedModal, ModalHeader, ModalBody, FileUploaderDropContainer, TextInput, Button, FileUploaderItem, ModalFooter } from '@carbon/react';
|
9
10
|
import React__default, { forwardRef, useState } from 'react';
|
10
11
|
import { Add } from '@carbon/react/icons';
|
11
|
-
import { usePrefix, ComposedModal, ModalHeader, ModalBody, FileUploaderDropContainer, TextInput, Button, FileUploaderItem, ModalFooter } from '@carbon/react';
|
12
|
-
import cx from 'classnames';
|
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 { pkg } from '../../settings.js';
|
15
16
|
import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
|
16
17
|
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
|
-
import { pkg } from '../../settings.js';
|
18
18
|
|
19
19
|
var _excluded = ["accept", "className", "defaultErrorBody", "defaultErrorHeader", "description", "fetchErrorBody", "fetchErrorHeader", "fileDropHeader", "fileDropLabel", "fileUploadLabel", "inputButtonIcon", "inputButtonText", "inputId", "inputLabel", "inputPlaceholder", "invalidFileTypeErrorBody", "invalidFileTypeErrorHeader", "invalidIconDescription", "maxFileSize", "maxFileSizeErrorBody", "maxFileSizeErrorHeader", "onClose", "onRequestSubmit", "open", "portalTarget", "primaryButtonText", "secondaryButtonText", "title"];
|
20
20
|
var componentName = 'ImportModal';
|
@@ -1 +1,2 @@
|
|
1
|
-
export { ImportModal } from
|
1
|
+
export { ImportModal } from './ImportModal';
|
2
|
+
export type { ImportModalProps } from './ImportModal';
|
@@ -9,7 +9,7 @@ type MediaType = {
|
|
9
9
|
render?: () => ReactNode;
|
10
10
|
filePaths?: string[];
|
11
11
|
};
|
12
|
-
interface InlineTipProps {
|
12
|
+
export interface InlineTipProps {
|
13
13
|
/**
|
14
14
|
* Optional "call to action" ghost button or link that can appear
|
15
15
|
* directly below the content. This component comes with pre-styled
|
@@ -6,16 +6,16 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default, { useState, useRef, useMemo, useEffect } from 'react';
|
10
|
-
import { Close, Idea, Crossroads } from '@carbon/react/icons';
|
11
9
|
import { IconButton, Button } from '@carbon/react';
|
10
|
+
import { Close, Idea, Crossroads } from '@carbon/react/icons';
|
11
|
+
import React__default, { useState, useRef, useMemo, useEffect } from 'react';
|
12
12
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
13
|
+
import { SteppedAnimatedMedia } from '../SteppedAnimatedMedia/SteppedAnimatedMedia.js';
|
13
14
|
import cx from 'classnames';
|
14
15
|
import { getComponentText } from './utils.js';
|
15
16
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
16
|
-
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
17
17
|
import { pkg } from '../../settings.js';
|
18
|
-
import
|
18
|
+
import uuidv4 from '../../global/js/utils/uuidv4.js';
|
19
19
|
|
20
20
|
var _Close, _Idea, _Crossroads;
|
21
21
|
var _excluded = ["action", "children", "className", "closeIconDescription", "collapsible", "collapseButtonLabel", "expandButtonLabel", "media", "narrow", "onClick", "onClose", "tertiaryButtonLabel", "title", "withLeftGutter"];
|
@@ -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 InlineTipButtonProps {
|
8
|
+
export interface InlineTipButtonProps {
|
9
9
|
/**
|
10
10
|
* Provide an optional class to be applied to the containing node.
|
11
11
|
*/
|
@@ -21,4 +21,3 @@ interface InlineTipButtonProps {
|
|
21
21
|
export declare let InlineTipButton: React.ForwardRefExoticComponent<InlineTipButtonProps & {
|
22
22
|
children?: React.ReactNode;
|
23
23
|
} & React.RefAttributes<HTMLButtonElement>>;
|
24
|
-
export {};
|
@@ -7,9 +7,9 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
+
import { Button } from '@carbon/react';
|
10
11
|
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
12
|
import cx from 'classnames';
|
12
|
-
import { Button } from '@carbon/react';
|
13
13
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../settings.js';
|
15
15
|
|
@@ -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 InlineTipLinkProps extends PropsWithChildren {
|
8
|
+
export interface InlineTipLinkProps extends PropsWithChildren {
|
9
9
|
/**
|
10
10
|
* Provide the contents of the InlineTipLink.
|
11
11
|
*/
|
@@ -19,4 +19,3 @@ interface InlineTipLinkProps extends PropsWithChildren {
|
|
19
19
|
* This is a standard Carbon link, styled specifically for use inside InlineTip.
|
20
20
|
*/
|
21
21
|
export declare let InlineTipLink: React.ForwardRefExoticComponent<InlineTipLinkProps & React.RefAttributes<HTMLDivElement>>;
|
22
|
-
export {};
|
@@ -7,10 +7,10 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import React__default from 'react';
|
10
|
-
import PropTypes from '../../node_modules/prop-types/index.js';
|
11
|
-
import cx from 'classnames';
|
12
10
|
import { Launch } from '@carbon/react/icons';
|
13
11
|
import { Link } from '@carbon/react';
|
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
15
|
import { pkg } from '../../settings.js';
|
16
16
|
|
@@ -1,3 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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 { InlineTip } from './InlineTip';
|
8
|
+
export { InlineTipButton } from './InlineTipButton';
|
9
|
+
export { InlineTipLink } from './InlineTipLink';
|
10
|
+
export type { InlineTipProps } from './InlineTip';
|
11
|
+
export type { InlineTipButtonProps } from './InlineTipButton';
|
12
|
+
export type { InlineTipLinkProps } from './InlineTipLink';
|