@carbon/ibm-products 2.81.0 → 2.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/Carousel/Carousel.d.ts +4 -0
- package/es/components/Carousel/Carousel.js +6 -2
- package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts +2 -2
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -2
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.d.ts +1 -1
- package/es/components/Coachmark/next/Coachmark/index.d.ts +1 -1
- package/es/components/InterstitialScreen/InterstitialScreenBody.js +1 -0
- package/es/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/es/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +2 -2
- package/es/components/index.d.ts +7 -4
- package/es/index.js +5 -8
- package/lib/components/Carousel/Carousel.d.ts +4 -0
- package/lib/components/Carousel/Carousel.js +6 -2
- package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts +2 -2
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -2
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.d.ts +1 -1
- package/lib/components/Coachmark/next/Coachmark/index.d.ts +1 -1
- package/lib/components/InterstitialScreen/InterstitialScreenBody.js +1 -0
- package/lib/components/RemoveModal/RemoveModal.d.ts +1 -1
- package/lib/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +2 -2
- package/lib/components/index.d.ts +7 -4
- package/lib/index.js +21 -21
- package/package.json +6 -6
- package/telemetry.yml +1 -0
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.js +0 -8
- package/es/components/Coachmark/next/Coachmark/CoachmarkTagline/index.js +0 -8
- package/es/components/Coachmark/next/Coachmark/index.js +0 -8
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.js +0 -14
- package/lib/components/Coachmark/next/Coachmark/CoachmarkTagline/index.js +0 -14
- package/lib/components/Coachmark/next/Coachmark/index.js +0 -14
|
@@ -51,6 +51,10 @@ export interface CarouselProps {
|
|
|
51
51
|
* and other items will be hidden and inactive.
|
|
52
52
|
*/
|
|
53
53
|
isScrollMode?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*This overrides the default behavior of resetting scrollLeft to 0 on resize.
|
|
56
|
+
*/
|
|
57
|
+
disableResetOnResize?: boolean;
|
|
54
58
|
}
|
|
55
59
|
/**
|
|
56
60
|
* The Carousel acts as a scaffold for other Onboarding content.
|
|
@@ -51,6 +51,7 @@ const Carousel = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
51
51
|
onChangeIsScrollable = defaults.onChangeIsScrollable,
|
|
52
52
|
onScroll = defaults.onScroll,
|
|
53
53
|
isScrollMode = false,
|
|
54
|
+
disableResetOnResize = false,
|
|
54
55
|
...rest
|
|
55
56
|
} = props;
|
|
56
57
|
const carouselRef = useRef(null);
|
|
@@ -218,11 +219,14 @@ const Carousel = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
218
219
|
if (!scrollRef.current) {
|
|
219
220
|
return;
|
|
220
221
|
}
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
if (!disableResetOnResize) {
|
|
223
|
+
scrollRef.current.scrollLeft = 0;
|
|
224
|
+
handleOnScroll();
|
|
225
|
+
}
|
|
223
226
|
};
|
|
224
227
|
window.addEventListener('resize', handleWindowResize);
|
|
225
228
|
return () => window.removeEventListener('resize', handleWindowResize);
|
|
229
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
226
230
|
}, [handleOnScroll]);
|
|
227
231
|
|
|
228
232
|
// On scrollRef.scrollend, trigger a callback.
|
|
@@ -9,7 +9,7 @@ import { CoachmarkContentProps } from './CoachmarkContent';
|
|
|
9
9
|
import { NewPopoverAlignment } from '@carbon/react';
|
|
10
10
|
import { ContentHeaderProps } from './ContentHeader';
|
|
11
11
|
import { ContentBodyProps } from './ContentBody';
|
|
12
|
-
export interface
|
|
12
|
+
export interface CoachmarkPropsNext {
|
|
13
13
|
/**
|
|
14
14
|
* Provide the contents of the Coachmark.
|
|
15
15
|
*/
|
|
@@ -46,7 +46,7 @@ type CoachmarkContentComponent = FC<CoachmarkContentProps> & {
|
|
|
46
46
|
Header: FC<ContentHeaderProps>;
|
|
47
47
|
Body: FC<ContentBodyProps>;
|
|
48
48
|
};
|
|
49
|
-
export type CoachmarkComponent = ForwardRefExoticComponent<
|
|
49
|
+
export type CoachmarkComponent = ForwardRefExoticComponent<CoachmarkPropsNext & RefAttributes<HTMLDivElement>> & {
|
|
50
50
|
Content: CoachmarkContentComponent;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
@@ -19,7 +19,7 @@ export interface CoachmarkButtonProps extends ButtonProps<ElementType> {
|
|
|
19
19
|
['aria-expanded']?: boolean;
|
|
20
20
|
id?: string;
|
|
21
21
|
}
|
|
22
|
-
export interface
|
|
22
|
+
export interface CoachmarkBeaconPropsNext {
|
|
23
23
|
/**
|
|
24
24
|
* Optional class name for this component.
|
|
25
25
|
*/
|
|
@@ -42,4 +42,4 @@ export interface CoachmarkBeaconProps {
|
|
|
42
42
|
/**
|
|
43
43
|
* Use beacon for the target prop of a Coachmark component.
|
|
44
44
|
*/
|
|
45
|
-
export declare const CoachmarkBeacon: React.ForwardRefExoticComponent<
|
|
45
|
+
export declare const CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconPropsNext & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
export { Coachmark } from './Coachmark';
|
|
8
|
-
export type {
|
|
8
|
+
export type { CoachmarkPropsNext, CoachmarkComponent } from './Coachmark';
|
|
9
9
|
export type { ContentBodyProps } from './ContentBody';
|
|
10
10
|
export type { ContentHeaderProps } from './ContentHeader';
|
|
11
11
|
export type { CoachmarkContentProps } from './CoachmarkContent';
|
|
@@ -88,6 +88,7 @@ const InterstitialScreenBody = /*#__PURE__*/React__default.forwardRef((props, re
|
|
|
88
88
|
className: `${blockClass}__carousel`
|
|
89
89
|
}, /*#__PURE__*/React__default.createElement(Carousel, {
|
|
90
90
|
disableArrowScroll: true,
|
|
91
|
+
disableResetOnResize: true,
|
|
91
92
|
ref: scrollRef,
|
|
92
93
|
onScroll: onScrollHandler
|
|
93
94
|
}, bodyChildrenData)) : stepType === 'single' ? bodyChildrenData : ''));
|
|
@@ -44,7 +44,7 @@ export interface RemoveModalProps extends React.ComponentProps<typeof ComposedMo
|
|
|
44
44
|
/**
|
|
45
45
|
* The DOM node the tearsheet should be rendered within. Defaults to document.body.
|
|
46
46
|
*/
|
|
47
|
-
portalTarget?:
|
|
47
|
+
portalTarget?: HTMLElement;
|
|
48
48
|
/**
|
|
49
49
|
* Prevent closing on click outside of modal
|
|
50
50
|
*/
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import React, { ReactNode, RefObject } from 'react';
|
|
8
|
-
import {
|
|
8
|
+
import { StepContextType } from '@carbon/utilities-react';
|
|
9
9
|
interface Props {
|
|
10
10
|
children?: ReactNode;
|
|
11
|
-
influencer?: ((a:
|
|
11
|
+
influencer?: ((a: StepContextType) => ReactNode) | null;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
title?: ReactNode;
|
package/es/components/index.d.ts
CHANGED
|
@@ -40,14 +40,17 @@ export * from './WebTerminal';
|
|
|
40
40
|
* Non-stable components
|
|
41
41
|
* draft | previewCandidate | preview
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
43
|
+
export { Coachmark as preview__Coachmark } from './Coachmark/next/Coachmark';
|
|
44
|
+
export type { CoachmarkPropsNext, CoachmarkComponent, ContentBodyProps, ContentHeaderProps, CoachmarkContentProps, } from './Coachmark/next/Coachmark';
|
|
45
|
+
export { CoachmarkTagline as preview__CoachmarkTagline } from './Coachmark/next/Coachmark/CoachmarkTagline';
|
|
46
|
+
export type { CoachmarkTaglineProps } from './Coachmark/next/Coachmark/CoachmarkTagline';
|
|
47
|
+
export { CoachmarkBeacon as preview__CoachmarkBeacon } from './Coachmark/next/Coachmark/CoachmarkBeacon';
|
|
48
|
+
export type { CoachmarkBeaconPropsNext } from './Coachmark/next/Coachmark/CoachmarkBeacon';
|
|
46
49
|
export { TruncatedText as preview__TruncatedText, type TruncatedTextProps, } from './TruncatedText';
|
|
47
50
|
export { FeatureFlags as preview__FeatureFlags, useFeatureFlag as preview__useFeatureFlag, useFeatureFlags as preview__useFeatureFlags, } from './FeatureFlags';
|
|
48
51
|
export * as preview__PageHeader from './PageHeader/next';
|
|
49
52
|
export { Tearsheet as preview__Tearsheet, StackProvider, } from './Tearsheet/next';
|
|
50
|
-
export type { TearsheetProps, TearsheetComponentType, FooterProps, MainContentProps, SummaryContentProps, TearsheetBodyProps, InfluencerProps, TearsheetHeaderProps, TearsheetNavigationBarProps, TearsheetScrollButtonProps, TearsheetHeaderActionItemProps, TearsheetHeaderActionsProps, TearsheetHeaderContentProps, StackContextType, } from './Tearsheet/next';
|
|
53
|
+
export type { TearsheetProps as preview__TearsheetProps, TearsheetComponentType, FooterProps, MainContentProps, SummaryContentProps, TearsheetBodyProps, InfluencerProps, TearsheetHeaderProps, TearsheetNavigationBarProps, TearsheetScrollButtonProps, TearsheetHeaderActionItemProps, TearsheetHeaderActionsProps, TearsheetHeaderContentProps, StackContextType, } from './Tearsheet/next';
|
|
51
54
|
export { BigNumber as previewCandidate__BigNumber, type BigNumberProps, } from './BigNumber';
|
|
52
55
|
export { Coachmark as previewCandidate__Coachmark, BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, useCoachmark, type CoachmarkProps, } from './Coachmark';
|
|
53
56
|
export { CoachmarkBeacon as previewCandidate__CoachmarkBeacon, type CoachmarkBeaconProps, } from './CoachmarkBeacon';
|
package/es/index.js
CHANGED
|
@@ -52,16 +52,13 @@ export { TearsheetNarrow } from './components/Tearsheet/TearsheetNarrow.js';
|
|
|
52
52
|
export { WebTerminal } from './components/WebTerminal/WebTerminal.js';
|
|
53
53
|
export { WebTerminalContentWrapper } from './components/WebTerminal/WebTerminalContentWrapper.js';
|
|
54
54
|
export { WebTerminalProvider, useWebTerminal } from './components/WebTerminal/hooks/index.js';
|
|
55
|
-
|
|
56
|
-
export {
|
|
57
|
-
|
|
58
|
-
export { index$1 as preview__CoachmarkTagline };
|
|
59
|
-
import * as index$2 from './components/Coachmark/next/Coachmark/CoachmarkBeacon/index.js';
|
|
60
|
-
export { index$2 as preview__CoachmarkBeacon };
|
|
55
|
+
export { Coachmark as preview__Coachmark } from './components/Coachmark/next/Coachmark/Coachmark.js';
|
|
56
|
+
export { CoachmarkTagline as preview__CoachmarkTagline } from './components/Coachmark/next/Coachmark/CoachmarkTagline/CoachmarkTagline.js';
|
|
57
|
+
export { CoachmarkBeacon as preview__CoachmarkBeacon } from './components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js';
|
|
61
58
|
export { TruncatedText as preview__TruncatedText } from './components/TruncatedText/TruncatedText.js';
|
|
62
59
|
export { FeatureFlags as preview__FeatureFlags, useFeatureFlag as preview__useFeatureFlag, useFeatureFlags as preview__useFeatureFlags } from './components/FeatureFlags/index.js';
|
|
63
|
-
import * as index
|
|
64
|
-
export { index
|
|
60
|
+
import * as index from './components/PageHeader/next/index.js';
|
|
61
|
+
export { index as preview__PageHeader };
|
|
65
62
|
export { Tearsheet as preview__Tearsheet } from './components/Tearsheet/next/Tearsheet.js';
|
|
66
63
|
export { StackProvider } from './components/Tearsheet/next/StackContext.js';
|
|
67
64
|
export { BigNumber as previewCandidate__BigNumber } from './components/BigNumber/BigNumber.js';
|
|
@@ -51,6 +51,10 @@ export interface CarouselProps {
|
|
|
51
51
|
* and other items will be hidden and inactive.
|
|
52
52
|
*/
|
|
53
53
|
isScrollMode?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*This overrides the default behavior of resetting scrollLeft to 0 on resize.
|
|
56
|
+
*/
|
|
57
|
+
disableResetOnResize?: boolean;
|
|
54
58
|
}
|
|
55
59
|
/**
|
|
56
60
|
* The Carousel acts as a scaffold for other Onboarding content.
|
|
@@ -53,6 +53,7 @@ const Carousel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
53
53
|
onChangeIsScrollable = defaults.onChangeIsScrollable,
|
|
54
54
|
onScroll = defaults.onScroll,
|
|
55
55
|
isScrollMode = false,
|
|
56
|
+
disableResetOnResize = false,
|
|
56
57
|
...rest
|
|
57
58
|
} = props;
|
|
58
59
|
const carouselRef = React.useRef(null);
|
|
@@ -220,11 +221,14 @@ const Carousel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
220
221
|
if (!scrollRef.current) {
|
|
221
222
|
return;
|
|
222
223
|
}
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
if (!disableResetOnResize) {
|
|
225
|
+
scrollRef.current.scrollLeft = 0;
|
|
226
|
+
handleOnScroll();
|
|
227
|
+
}
|
|
225
228
|
};
|
|
226
229
|
window.addEventListener('resize', handleWindowResize);
|
|
227
230
|
return () => window.removeEventListener('resize', handleWindowResize);
|
|
231
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
228
232
|
}, [handleOnScroll]);
|
|
229
233
|
|
|
230
234
|
// On scrollRef.scrollend, trigger a callback.
|
|
@@ -9,7 +9,7 @@ import { CoachmarkContentProps } from './CoachmarkContent';
|
|
|
9
9
|
import { NewPopoverAlignment } from '@carbon/react';
|
|
10
10
|
import { ContentHeaderProps } from './ContentHeader';
|
|
11
11
|
import { ContentBodyProps } from './ContentBody';
|
|
12
|
-
export interface
|
|
12
|
+
export interface CoachmarkPropsNext {
|
|
13
13
|
/**
|
|
14
14
|
* Provide the contents of the Coachmark.
|
|
15
15
|
*/
|
|
@@ -46,7 +46,7 @@ type CoachmarkContentComponent = FC<CoachmarkContentProps> & {
|
|
|
46
46
|
Header: FC<ContentHeaderProps>;
|
|
47
47
|
Body: FC<ContentBodyProps>;
|
|
48
48
|
};
|
|
49
|
-
export type CoachmarkComponent = ForwardRefExoticComponent<
|
|
49
|
+
export type CoachmarkComponent = ForwardRefExoticComponent<CoachmarkPropsNext & RefAttributes<HTMLDivElement>> & {
|
|
50
50
|
Content: CoachmarkContentComponent;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
@@ -19,7 +19,7 @@ export interface CoachmarkButtonProps extends ButtonProps<ElementType> {
|
|
|
19
19
|
['aria-expanded']?: boolean;
|
|
20
20
|
id?: string;
|
|
21
21
|
}
|
|
22
|
-
export interface
|
|
22
|
+
export interface CoachmarkBeaconPropsNext {
|
|
23
23
|
/**
|
|
24
24
|
* Optional class name for this component.
|
|
25
25
|
*/
|
|
@@ -42,4 +42,4 @@ export interface CoachmarkBeaconProps {
|
|
|
42
42
|
/**
|
|
43
43
|
* Use beacon for the target prop of a Coachmark component.
|
|
44
44
|
*/
|
|
45
|
-
export declare const CoachmarkBeacon: React.ForwardRefExoticComponent<
|
|
45
|
+
export declare const CoachmarkBeacon: React.ForwardRefExoticComponent<CoachmarkBeaconPropsNext & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
export { Coachmark } from './Coachmark';
|
|
8
|
-
export type {
|
|
8
|
+
export type { CoachmarkPropsNext, CoachmarkComponent } from './Coachmark';
|
|
9
9
|
export type { ContentBodyProps } from './ContentBody';
|
|
10
10
|
export type { ContentHeaderProps } from './ContentHeader';
|
|
11
11
|
export type { CoachmarkContentProps } from './CoachmarkContent';
|
|
@@ -92,6 +92,7 @@ const InterstitialScreenBody = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
92
92
|
className: `${context.blockClass}__carousel`
|
|
93
93
|
}, /*#__PURE__*/React.createElement(Carousel.Carousel, {
|
|
94
94
|
disableArrowScroll: true,
|
|
95
|
+
disableResetOnResize: true,
|
|
95
96
|
ref: scrollRef,
|
|
96
97
|
onScroll: onScrollHandler
|
|
97
98
|
}, bodyChildrenData)) : stepType === 'single' ? bodyChildrenData : ''));
|
|
@@ -44,7 +44,7 @@ export interface RemoveModalProps extends React.ComponentProps<typeof ComposedMo
|
|
|
44
44
|
/**
|
|
45
45
|
* The DOM node the tearsheet should be rendered within. Defaults to document.body.
|
|
46
46
|
*/
|
|
47
|
-
portalTarget?:
|
|
47
|
+
portalTarget?: HTMLElement;
|
|
48
48
|
/**
|
|
49
49
|
* Prevent closing on click outside of modal
|
|
50
50
|
*/
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import React, { ReactNode, RefObject } from 'react';
|
|
8
|
-
import {
|
|
8
|
+
import { StepContextType } from '@carbon/utilities-react';
|
|
9
9
|
interface Props {
|
|
10
10
|
children?: ReactNode;
|
|
11
|
-
influencer?: ((a:
|
|
11
|
+
influencer?: ((a: StepContextType) => ReactNode) | null;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
title?: ReactNode;
|
|
@@ -40,14 +40,17 @@ export * from './WebTerminal';
|
|
|
40
40
|
* Non-stable components
|
|
41
41
|
* draft | previewCandidate | preview
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
43
|
+
export { Coachmark as preview__Coachmark } from './Coachmark/next/Coachmark';
|
|
44
|
+
export type { CoachmarkPropsNext, CoachmarkComponent, ContentBodyProps, ContentHeaderProps, CoachmarkContentProps, } from './Coachmark/next/Coachmark';
|
|
45
|
+
export { CoachmarkTagline as preview__CoachmarkTagline } from './Coachmark/next/Coachmark/CoachmarkTagline';
|
|
46
|
+
export type { CoachmarkTaglineProps } from './Coachmark/next/Coachmark/CoachmarkTagline';
|
|
47
|
+
export { CoachmarkBeacon as preview__CoachmarkBeacon } from './Coachmark/next/Coachmark/CoachmarkBeacon';
|
|
48
|
+
export type { CoachmarkBeaconPropsNext } from './Coachmark/next/Coachmark/CoachmarkBeacon';
|
|
46
49
|
export { TruncatedText as preview__TruncatedText, type TruncatedTextProps, } from './TruncatedText';
|
|
47
50
|
export { FeatureFlags as preview__FeatureFlags, useFeatureFlag as preview__useFeatureFlag, useFeatureFlags as preview__useFeatureFlags, } from './FeatureFlags';
|
|
48
51
|
export * as preview__PageHeader from './PageHeader/next';
|
|
49
52
|
export { Tearsheet as preview__Tearsheet, StackProvider, } from './Tearsheet/next';
|
|
50
|
-
export type { TearsheetProps, TearsheetComponentType, FooterProps, MainContentProps, SummaryContentProps, TearsheetBodyProps, InfluencerProps, TearsheetHeaderProps, TearsheetNavigationBarProps, TearsheetScrollButtonProps, TearsheetHeaderActionItemProps, TearsheetHeaderActionsProps, TearsheetHeaderContentProps, StackContextType, } from './Tearsheet/next';
|
|
53
|
+
export type { TearsheetProps as preview__TearsheetProps, TearsheetComponentType, FooterProps, MainContentProps, SummaryContentProps, TearsheetBodyProps, InfluencerProps, TearsheetHeaderProps, TearsheetNavigationBarProps, TearsheetScrollButtonProps, TearsheetHeaderActionItemProps, TearsheetHeaderActionsProps, TearsheetHeaderContentProps, StackContextType, } from './Tearsheet/next';
|
|
51
54
|
export { BigNumber as previewCandidate__BigNumber, type BigNumberProps, } from './BigNumber';
|
|
52
55
|
export { Coachmark as previewCandidate__Coachmark, BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, useCoachmark, type CoachmarkProps, } from './Coachmark';
|
|
53
56
|
export { CoachmarkBeacon as previewCandidate__CoachmarkBeacon, type CoachmarkBeaconProps, } from './CoachmarkBeacon';
|
package/lib/index.js
CHANGED
|
@@ -53,21 +53,21 @@ var Tearsheet$1 = require('./components/Tearsheet/Tearsheet.js');
|
|
|
53
53
|
var TearsheetNarrow = require('./components/Tearsheet/TearsheetNarrow.js');
|
|
54
54
|
var WebTerminal = require('./components/WebTerminal/WebTerminal.js');
|
|
55
55
|
var WebTerminalContentWrapper = require('./components/WebTerminal/WebTerminalContentWrapper.js');
|
|
56
|
-
var index$
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
56
|
+
var index$2 = require('./components/WebTerminal/hooks/index.js');
|
|
57
|
+
var Coachmark = require('./components/Coachmark/next/Coachmark/Coachmark.js');
|
|
58
|
+
var CoachmarkTagline = require('./components/Coachmark/next/Coachmark/CoachmarkTagline/CoachmarkTagline.js');
|
|
59
|
+
var CoachmarkBeacon = require('./components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js');
|
|
60
60
|
var TruncatedText = require('./components/TruncatedText/TruncatedText.js');
|
|
61
|
-
var index$
|
|
62
|
-
var index
|
|
61
|
+
var index$1 = require('./components/FeatureFlags/index.js');
|
|
62
|
+
var index = require('./components/PageHeader/next/index.js');
|
|
63
63
|
var Tearsheet = require('./components/Tearsheet/next/Tearsheet.js');
|
|
64
64
|
var StackContext = require('./components/Tearsheet/next/StackContext.js');
|
|
65
65
|
var BigNumber = require('./components/BigNumber/BigNumber.js');
|
|
66
|
-
var Coachmark = require('./components/Coachmark/Coachmark.js');
|
|
66
|
+
var Coachmark$1 = require('./components/Coachmark/Coachmark.js');
|
|
67
67
|
var enums = require('./components/Coachmark/utils/enums.js');
|
|
68
68
|
var context = require('./components/Coachmark/utils/context.js');
|
|
69
69
|
require('./components/Coachmark/CoachmarkTagline.js');
|
|
70
|
-
var CoachmarkBeacon = require('./components/CoachmarkBeacon/CoachmarkBeacon.js');
|
|
70
|
+
var CoachmarkBeacon$1 = require('./components/CoachmarkBeacon/CoachmarkBeacon.js');
|
|
71
71
|
var CoachmarkButton = require('./components/CoachmarkButton/CoachmarkButton.js');
|
|
72
72
|
var CoachmarkFixed = require('./components/CoachmarkFixed/CoachmarkFixed.js');
|
|
73
73
|
var CoachmarkOverlayElement = require('./components/CoachmarkOverlayElement/CoachmarkOverlayElement.js');
|
|
@@ -90,7 +90,7 @@ var ToolbarButton = require('./components/Toolbar/ToolbarButton.js');
|
|
|
90
90
|
var ToolbarGroup = require('./components/Toolbar/ToolbarGroup.js');
|
|
91
91
|
var TruncatedList = require('./components/TruncatedList/TruncatedList.js');
|
|
92
92
|
var ComboButton = require('./components/ComboButton/ComboButton.js');
|
|
93
|
-
var index$
|
|
93
|
+
var index$3 = require('./components/ComboButton/ComboButtonItem/index.js');
|
|
94
94
|
var Datagrid = require('./components/Datagrid/Datagrid/Datagrid.js');
|
|
95
95
|
var useDatagrid = require('./components/Datagrid/useDatagrid.js');
|
|
96
96
|
var useInfiniteScroll = require('./components/Datagrid/useInfiniteScroll.js');
|
|
@@ -197,25 +197,25 @@ exports.Tearsheet = Tearsheet$1.Tearsheet;
|
|
|
197
197
|
exports.TearsheetNarrow = TearsheetNarrow.TearsheetNarrow;
|
|
198
198
|
exports.WebTerminal = WebTerminal.WebTerminal;
|
|
199
199
|
exports.WebTerminalContentWrapper = WebTerminalContentWrapper.WebTerminalContentWrapper;
|
|
200
|
-
exports.WebTerminalProvider = index$
|
|
201
|
-
exports.useWebTerminal = index$
|
|
202
|
-
exports.preview__Coachmark =
|
|
203
|
-
exports.preview__CoachmarkTagline =
|
|
204
|
-
exports.preview__CoachmarkBeacon =
|
|
200
|
+
exports.WebTerminalProvider = index$2.WebTerminalProvider;
|
|
201
|
+
exports.useWebTerminal = index$2.useWebTerminal;
|
|
202
|
+
exports.preview__Coachmark = Coachmark.Coachmark;
|
|
203
|
+
exports.preview__CoachmarkTagline = CoachmarkTagline.CoachmarkTagline;
|
|
204
|
+
exports.preview__CoachmarkBeacon = CoachmarkBeacon.CoachmarkBeacon;
|
|
205
205
|
exports.preview__TruncatedText = TruncatedText.TruncatedText;
|
|
206
|
-
exports.preview__FeatureFlags = index$
|
|
207
|
-
exports.preview__useFeatureFlag = index$
|
|
208
|
-
exports.preview__useFeatureFlags = index$
|
|
209
|
-
exports.preview__PageHeader = index
|
|
206
|
+
exports.preview__FeatureFlags = index$1.FeatureFlags;
|
|
207
|
+
exports.preview__useFeatureFlag = index$1.useFeatureFlag;
|
|
208
|
+
exports.preview__useFeatureFlags = index$1.useFeatureFlags;
|
|
209
|
+
exports.preview__PageHeader = index;
|
|
210
210
|
exports.preview__Tearsheet = Tearsheet.Tearsheet;
|
|
211
211
|
exports.StackProvider = StackContext.StackProvider;
|
|
212
212
|
exports.previewCandidate__BigNumber = BigNumber.BigNumber;
|
|
213
|
-
exports.previewCandidate__Coachmark = Coachmark.Coachmark;
|
|
213
|
+
exports.previewCandidate__Coachmark = Coachmark$1.Coachmark;
|
|
214
214
|
exports.BEACON_KIND = enums.BEACON_KIND;
|
|
215
215
|
exports.COACHMARK_ALIGNMENT = enums.COACHMARK_ALIGNMENT;
|
|
216
216
|
exports.COACHMARK_OVERLAY_KIND = enums.COACHMARK_OVERLAY_KIND;
|
|
217
217
|
exports.useCoachmark = context.useCoachmark;
|
|
218
|
-
exports.previewCandidate__CoachmarkBeacon = CoachmarkBeacon.CoachmarkBeacon;
|
|
218
|
+
exports.previewCandidate__CoachmarkBeacon = CoachmarkBeacon$1.CoachmarkBeacon;
|
|
219
219
|
exports.previewCandidate__CoachmarkButton = CoachmarkButton.CoachmarkButton;
|
|
220
220
|
exports.previewCandidate__CoachmarkFixed = CoachmarkFixed.CoachmarkFixed;
|
|
221
221
|
exports.previewCandidate__CoachmarkOverlayElement = CoachmarkOverlayElement.CoachmarkOverlayElement;
|
|
@@ -238,7 +238,7 @@ exports.previewCandidate__ToolbarButton = ToolbarButton.ToolbarButton;
|
|
|
238
238
|
exports.previewCandidate__ToolbarGroup = ToolbarGroup.ToolbarGroup;
|
|
239
239
|
exports.previewCandidate__TruncatedList = TruncatedList.TruncatedList;
|
|
240
240
|
exports.ComboButton = ComboButton.ComboButton;
|
|
241
|
-
exports.ComboButtonItem = index$
|
|
241
|
+
exports.ComboButtonItem = index$3.ComboButtonItem;
|
|
242
242
|
exports.Datagrid = Datagrid.Datagrid;
|
|
243
243
|
exports.useDatagrid = useDatagrid.default;
|
|
244
244
|
exports.useInfiniteScroll = useInfiniteScroll.default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibm-products",
|
|
3
3
|
"description": "Carbon for IBM Products",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.82.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@percy/cli": "^1.31.0",
|
|
74
74
|
"@percy/storybook": "^9.0.0",
|
|
75
75
|
"@rollup/plugin-babel": "^6.0.4",
|
|
76
|
-
"@rollup/plugin-commonjs": "^
|
|
76
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
77
77
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
78
78
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
79
79
|
"@storybook/addon-docs": "^9.0.8",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@storybook/react-vite": "^9.0.13",
|
|
83
83
|
"@types/react-table": "^7.7.20",
|
|
84
84
|
"babel-plugin-dev-expression": "^0.2.3",
|
|
85
|
-
"babel-preset-ibm-cloud-cognitive": "^0.
|
|
85
|
+
"babel-preset-ibm-cloud-cognitive": "^0.40.0",
|
|
86
86
|
"change-case": "5.4.4",
|
|
87
87
|
"classnames": "^2.5.1",
|
|
88
88
|
"copyfiles": "^2.4.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"fs-extra": "^11.3.0",
|
|
91
91
|
"glob": "^11.0.1",
|
|
92
92
|
"jest": "^29.7.0",
|
|
93
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
|
93
|
+
"jest-config-ibm-cloud-cognitive": "^1.41.0",
|
|
94
94
|
"jest-environment-jsdom": "^29.7.0",
|
|
95
95
|
"namor": "^1.1.2",
|
|
96
96
|
"npm-run-all2": "^8.0.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@babel/runtime": "^7.26.10",
|
|
111
111
|
"@carbon-labs/react-resizer": "^0.10.0",
|
|
112
112
|
"@carbon/feature-flags": "^0.32.0",
|
|
113
|
-
"@carbon/ibm-products-styles": "^2.
|
|
113
|
+
"@carbon/ibm-products-styles": "^2.78.0",
|
|
114
114
|
"@carbon/telemetry": "^0.1.0",
|
|
115
115
|
"@carbon/utilities": "^0.13.0",
|
|
116
116
|
"@carbon/utilities-react": "0.16.0",
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0",
|
|
133
133
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0"
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "7a9d020a6f8b324bf12c29554aa5c2d7a5165693"
|
|
136
136
|
}
|
package/telemetry.yml
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2020, 2026
|
|
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
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
var CoachmarkBeacon = require('./CoachmarkBeacon.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.CoachmarkBeacon = CoachmarkBeacon.CoachmarkBeacon;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2020, 2026
|
|
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
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
var CoachmarkTagline = require('./CoachmarkTagline.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.CoachmarkTagline = CoachmarkTagline.CoachmarkTagline;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2020, 2026
|
|
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
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
var Coachmark = require('./Coachmark.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.Coachmark = Coachmark.Coachmark;
|