@carbon/ibm-products 2.71.1 → 2.72.0-rc.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.
Files changed (222) hide show
  1. package/css/carbon.css +50 -0
  2. package/css/carbon.css.map +1 -1
  3. package/css/index-full-carbon.css +560 -185
  4. package/css/index-full-carbon.css.map +1 -1
  5. package/css/index-full-carbon.min.css +1 -1
  6. package/css/index-full-carbon.min.css.map +1 -1
  7. package/css/index-without-carbon-released-only.css +132 -1
  8. package/css/index-without-carbon-released-only.css.map +1 -1
  9. package/css/index-without-carbon-released-only.min.css +1 -1
  10. package/css/index-without-carbon-released-only.min.css.map +1 -1
  11. package/css/index-without-carbon.css +570 -245
  12. package/css/index-without-carbon.css.map +1 -1
  13. package/css/index-without-carbon.min.css +1 -1
  14. package/css/index-without-carbon.min.css.map +1 -1
  15. package/css/index.css +358 -33
  16. package/css/index.css.map +1 -1
  17. package/css/index.min.css +1 -1
  18. package/css/index.min.css.map +1 -1
  19. package/es/components/{BigNumbers/BigNumbers.d.ts → BigNumber/BigNumber.d.ts} +5 -5
  20. package/es/components/{BigNumbers/BigNumbers.js → BigNumber/BigNumber.js} +12 -12
  21. package/es/components/BigNumber/BigNumberSkeleton.d.ts +17 -0
  22. package/es/components/{BigNumbers/BigNumbersSkeleton.js → BigNumber/BigNumberSkeleton.js} +16 -16
  23. package/es/components/{BigNumbers → BigNumber}/constants.d.ts +3 -3
  24. package/es/components/{BigNumbers → BigNumber}/constants.js +6 -6
  25. package/es/components/{BigNumbers → BigNumber}/index.d.ts +2 -2
  26. package/es/components/Coachmark/next/Coachmark/Coachmark.d.ts +72 -0
  27. package/es/components/Coachmark/next/Coachmark/Coachmark.js +185 -0
  28. package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +44 -0
  29. package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.d.ts +8 -0
  30. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts +38 -0
  31. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +125 -0
  32. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts +24 -0
  33. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.js +25 -0
  34. package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts +10 -0
  35. package/es/components/Coachmark/next/Coachmark/CoachmarkContent.d.ts +34 -0
  36. package/es/components/Coachmark/next/Coachmark/CoachmarkContent.js +118 -0
  37. package/es/components/Coachmark/next/Coachmark/ContentBody.d.ts +23 -0
  38. package/es/components/Coachmark/next/Coachmark/ContentBody.js +37 -0
  39. package/es/components/Coachmark/next/Coachmark/ContentHeader.d.ts +21 -0
  40. package/es/components/Coachmark/next/Coachmark/ContentHeader.js +89 -0
  41. package/{lib/components/BigNumbers → es/components/Coachmark/next/Coachmark}/index.d.ts +2 -2
  42. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +0 -1
  43. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +2 -1
  44. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -5
  45. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  46. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +11 -4
  47. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +2 -2
  48. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  49. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +42 -3
  50. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -1
  51. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +5 -3
  52. package/es/components/ConditionBuilder/utils/useTranslations.js +1 -1
  53. package/es/components/EditInPlace/EditInPlace.js +0 -3
  54. package/es/components/EmptyStates/EmptyState.d.ts +2 -2
  55. package/es/components/EmptyStates/EmptyState.js +2 -8
  56. package/es/components/FilterPanel/FilterPanelGroup/index.d.ts +1 -0
  57. package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -25
  58. package/es/components/InterstitialScreen/InterstitialScreen.js +3 -19
  59. package/es/components/InterstitialScreen/InterstitialScreenBody.d.ts +1 -1
  60. package/es/components/InterstitialScreen/InterstitialScreenBody.js +1 -1
  61. package/es/components/InterstitialScreen/InterstitialScreenFooter.d.ts +1 -1
  62. package/es/components/InterstitialScreen/InterstitialScreenFooter.js +1 -1
  63. package/es/components/InterstitialScreen/InterstitialScreenHeader.d.ts +6 -0
  64. package/es/components/InterstitialScreen/InterstitialScreenHeader.js +1 -1
  65. package/es/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -1
  66. package/es/components/InterstitialScreen/context.d.ts +31 -0
  67. package/es/components/InterstitialScreen/context.js +18 -0
  68. package/es/components/InterstitialScreen/index.d.ts +3 -2
  69. package/es/components/NotificationsPanel/NotificationsPanel.js +36 -13
  70. package/es/components/PageHeader/PageHeader.d.ts +2 -1
  71. package/es/components/PageHeader/PageHeader.js +2 -1
  72. package/es/components/PageHeader/next/PageHeader.d.ts +18 -3
  73. package/es/components/PageHeader/next/PageHeader.js +260 -12
  74. package/es/components/PageHeader/next/context.d.ts +25 -0
  75. package/es/components/PageHeader/next/context.js +30 -0
  76. package/es/components/PageHeader/next/index.d.ts +3 -3
  77. package/es/components/PageHeader/next/overflowHandler.d.ts +95 -0
  78. package/es/components/PageHeader/next/overflowHandler.js +162 -0
  79. package/es/components/PageHeader/next/utils.d.ts +19 -0
  80. package/es/components/PageHeader/next/utils.js +68 -0
  81. package/es/components/ProductiveCard/ProductiveCard.js +2 -1
  82. package/es/components/ScrollGradient/ScrollGradient.js +1 -2
  83. package/es/components/SidePanel/SidePanel.d.ts +4 -0
  84. package/es/components/SidePanel/SidePanel.js +8 -2
  85. package/es/components/Tearsheet/TearsheetShell.js +8 -5
  86. package/es/components/TruncatedText/TruncatedText.d.ts +48 -0
  87. package/es/components/TruncatedText/TruncatedText.js +86 -0
  88. package/es/components/TruncatedText/index.d.ts +7 -0
  89. package/es/components/TruncatedText/useTruncatedText.d.ts +16 -0
  90. package/es/components/TruncatedText/useTruncatedText.js +41 -0
  91. package/es/components/index.d.ts +3 -1
  92. package/es/global/js/hooks/useOverflowString.d.ts +2 -2
  93. package/es/global/js/hooks/useResizeObserver.d.ts +1 -1
  94. package/es/global/js/package-settings.d.ts +2 -1
  95. package/es/global/js/package-settings.js +3 -2
  96. package/es/global/js/utils/checkForOverflow.js +21 -0
  97. package/es/global/js/utils/makeDraggable/index.d.ts +1 -0
  98. package/es/global/js/utils/makeDraggable/makeDraggable.d.ts +19 -0
  99. package/es/global/js/utils/makeDraggable/makeDraggable.js +91 -0
  100. package/es/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +22 -0
  101. package/es/index.js +3 -1
  102. package/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +592 -0
  103. package/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +713 -0
  104. package/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +95 -0
  105. package/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +161 -0
  106. package/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +142 -0
  107. package/es/settings.d.ts +2 -1
  108. package/lib/components/{BigNumbers/BigNumbers.d.ts → BigNumber/BigNumber.d.ts} +5 -5
  109. package/lib/components/{BigNumbers/BigNumbers.js → BigNumber/BigNumber.js} +11 -11
  110. package/lib/components/BigNumber/BigNumberSkeleton.d.ts +17 -0
  111. package/lib/components/{BigNumbers/BigNumbersSkeleton.js → BigNumber/BigNumberSkeleton.js} +15 -15
  112. package/lib/components/{BigNumbers → BigNumber}/constants.d.ts +3 -3
  113. package/lib/components/{BigNumbers → BigNumber}/constants.js +6 -6
  114. package/lib/components/BigNumber/index.d.ts +7 -0
  115. package/lib/components/Coachmark/Coachmark.js +2 -2
  116. package/lib/components/Coachmark/next/Coachmark/Coachmark.d.ts +72 -0
  117. package/lib/components/Coachmark/next/Coachmark/Coachmark.js +189 -0
  118. package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.d.ts +44 -0
  119. package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/index.d.ts +8 -0
  120. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.d.ts +38 -0
  121. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +127 -0
  122. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.d.ts +24 -0
  123. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubbleHeader.js +27 -0
  124. package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/index.d.ts +10 -0
  125. package/lib/components/Coachmark/next/Coachmark/CoachmarkContent.d.ts +34 -0
  126. package/lib/components/Coachmark/next/Coachmark/CoachmarkContent.js +122 -0
  127. package/lib/components/Coachmark/next/Coachmark/ContentBody.d.ts +23 -0
  128. package/lib/components/Coachmark/next/Coachmark/ContentBody.js +41 -0
  129. package/lib/components/Coachmark/next/Coachmark/ContentHeader.d.ts +21 -0
  130. package/lib/components/Coachmark/next/Coachmark/ContentHeader.js +93 -0
  131. package/lib/components/Coachmark/next/Coachmark/index.d.ts +7 -0
  132. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +0 -1
  133. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +2 -2
  134. package/lib/components/CoachmarkStack/CoachmarkStack.js +2 -2
  135. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +2 -2
  136. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +2 -1
  137. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +11 -5
  138. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  139. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +11 -4
  140. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +2 -2
  141. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  142. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +41 -2
  143. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +3 -1
  144. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +5 -3
  145. package/lib/components/ConditionBuilder/utils/useTranslations.js +1 -1
  146. package/lib/components/EditInPlace/EditInPlace.js +0 -3
  147. package/lib/components/EmptyStates/EmptyState.d.ts +2 -2
  148. package/lib/components/EmptyStates/EmptyState.js +2 -8
  149. package/lib/components/FilterPanel/FilterPanelGroup/index.d.ts +1 -0
  150. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -25
  151. package/lib/components/InterstitialScreen/InterstitialScreen.js +6 -25
  152. package/lib/components/InterstitialScreen/InterstitialScreenBody.d.ts +1 -1
  153. package/lib/components/InterstitialScreen/InterstitialScreenBody.js +6 -6
  154. package/lib/components/InterstitialScreen/InterstitialScreenFooter.d.ts +1 -1
  155. package/lib/components/InterstitialScreen/InterstitialScreenFooter.js +9 -9
  156. package/lib/components/InterstitialScreen/InterstitialScreenHeader.d.ts +6 -0
  157. package/lib/components/InterstitialScreen/InterstitialScreenHeader.js +5 -5
  158. package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +1 -1
  159. package/lib/components/InterstitialScreen/context.d.ts +31 -0
  160. package/lib/components/InterstitialScreen/context.js +21 -0
  161. package/lib/components/InterstitialScreen/index.d.ts +3 -2
  162. package/lib/components/NotificationsPanel/NotificationsPanel.js +36 -13
  163. package/lib/components/PageHeader/PageHeader.d.ts +2 -1
  164. package/lib/components/PageHeader/PageHeader.js +2 -1
  165. package/lib/components/PageHeader/next/PageHeader.d.ts +18 -3
  166. package/lib/components/PageHeader/next/PageHeader.js +261 -7
  167. package/lib/components/PageHeader/next/context.d.ts +25 -0
  168. package/lib/components/PageHeader/next/context.js +33 -0
  169. package/lib/components/PageHeader/next/index.d.ts +3 -3
  170. package/lib/components/PageHeader/next/overflowHandler.d.ts +95 -0
  171. package/lib/components/PageHeader/next/overflowHandler.js +166 -0
  172. package/lib/components/PageHeader/next/utils.d.ts +19 -0
  173. package/lib/components/PageHeader/next/utils.js +71 -0
  174. package/lib/components/ProductiveCard/ProductiveCard.js +2 -1
  175. package/lib/components/ScrollGradient/ScrollGradient.js +1 -2
  176. package/lib/components/SidePanel/SidePanel.d.ts +4 -0
  177. package/lib/components/SidePanel/SidePanel.js +8 -2
  178. package/lib/components/Tearsheet/TearsheetShell.js +8 -5
  179. package/lib/components/TruncatedText/TruncatedText.d.ts +48 -0
  180. package/lib/components/TruncatedText/TruncatedText.js +86 -0
  181. package/lib/components/TruncatedText/index.d.ts +7 -0
  182. package/lib/components/TruncatedText/useTruncatedText.d.ts +16 -0
  183. package/lib/components/TruncatedText/useTruncatedText.js +45 -0
  184. package/lib/components/index.d.ts +3 -1
  185. package/lib/global/js/hooks/useOverflowString.d.ts +2 -2
  186. package/lib/global/js/hooks/usePortalTarget.js +2 -2
  187. package/lib/global/js/hooks/useResizeObserver.d.ts +1 -1
  188. package/lib/global/js/package-settings.d.ts +2 -1
  189. package/lib/global/js/package-settings.js +3 -2
  190. package/lib/global/js/utils/checkForOverflow.js +23 -0
  191. package/lib/global/js/utils/makeDraggable/index.d.ts +1 -0
  192. package/lib/global/js/utils/makeDraggable/makeDraggable.d.ts +19 -0
  193. package/lib/global/js/utils/makeDraggable/makeDraggable.js +93 -0
  194. package/lib/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +22 -0
  195. package/lib/index.js +10 -3
  196. package/lib/node_modules/@floating-ui/core/dist/floating-ui.core.js +600 -0
  197. package/lib/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +722 -0
  198. package/lib/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +102 -0
  199. package/lib/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +182 -0
  200. package/lib/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +164 -0
  201. package/lib/settings.d.ts +2 -1
  202. package/package.json +9 -10
  203. package/scss/components/{BigNumbers/_big-numbers.scss → BigNumber/_big-number.scss} +5 -5
  204. package/scss/components/{BigNumbers → BigNumber}/_carbon-imports.scss +3 -3
  205. package/scss/components/{BigNumbers → BigNumber}/_index-with-carbon.scss +2 -2
  206. package/scss/components/{BigNumbers → BigNumber}/_index.scss +2 -2
  207. package/scss/components/Card/_card.scss +2 -0
  208. package/scss/components/Coachmark/_bubble.scss +62 -0
  209. package/scss/components/Coachmark/_coachmark-beacon.scss +164 -0
  210. package/scss/components/Coachmark/_coachmark.scss +15 -0
  211. package/scss/components/ConditionBuilder/_condition-builder.scss +8 -0
  212. package/scss/components/PageHeader/_page-header.scss +144 -1
  213. package/scss/components/Tearsheet/_tearsheet.scss +6 -0
  214. package/scss/components/TruncatedText/_carbon-imports.scss +6 -0
  215. package/scss/components/TruncatedText/_index-with-carbon.scss +9 -0
  216. package/scss/components/TruncatedText/_index.scss +8 -0
  217. package/scss/components/TruncatedText/_truncated-text.scss +26 -0
  218. package/scss/components/_index-with-carbon.scss +3 -2
  219. package/scss/components/_index.scss +3 -2
  220. package/telemetry.yml +24 -5
  221. package/es/components/BigNumbers/BigNumbersSkeleton.d.ts +0 -17
  222. package/lib/components/BigNumbers/BigNumbersSkeleton.d.ts +0 -17
@@ -10,12 +10,6 @@
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
12
  var EmptyStateV2 = require('./EmptyStateV2.js');
13
- require('./ErrorEmptyState/ErrorEmptyState.js');
14
- require('./NoDataEmptyState/NoDataEmptyState.js');
15
- require('./NoTagsEmptyState/NoTagsEmptyState.js');
16
- require('./NotFoundEmptyState/NotFoundEmptyState.js');
17
- require('./NotificationsEmptyState/NotificationsEmptyState.js');
18
- require('./UnauthorizedEmptyState/UnauthorizedEmptyState.js');
19
13
  var index = require('../../_virtual/index.js');
20
14
  var cx = require('classnames');
21
15
  var react = require('@carbon/react');
@@ -140,8 +134,8 @@ exports.EmptyState.propTypes = {
140
134
  */
141
135
  title: index.default.oneOfType([index.default.string, index.default.node]).isRequired,
142
136
  /**
143
- * Designates which version of the EmptyState component is being used.
144
- * Refer to V2 documentation separately.
137
+ * **Deprecated:** Designates which version of the EmptyState component is being used. Refer to V2 documentation separately.
138
+ * @deprecated
145
139
  */
146
140
  v2: index.default.bool
147
141
  };
@@ -0,0 +1 @@
1
+ export { FilterPanelGroup } from "./FilterPanelGroup";
@@ -8,8 +8,7 @@ import React, { ReactNode, RefObject } from 'react';
8
8
  import { InterstitialScreenHeaderProps } from './InterstitialScreenHeader';
9
9
  import { InterstitialScreenBodyProps } from './InterstitialScreenBody';
10
10
  import { InterstitialScreenFooterProps } from './InterstitialScreenFooter';
11
- export declare const blockClass: string;
12
- export type ActionType = 'close' | 'start' | 'skip' | 'back' | 'next';
11
+ import { ActionType } from './context';
13
12
  export interface InterstitialScreenProps {
14
13
  /**
15
14
  * Provide the contents of the InterstitialScreen.
@@ -46,28 +45,6 @@ export type InterstitialScreenComponent = React.ForwardRefExoticComponent<Inters
46
45
  Body: React.FC<InterstitialScreenBodyProps>;
47
46
  Footer: React.FC<InterstitialScreenFooterProps>;
48
47
  };
49
- export type disableButtonConfigType = {
50
- skip?: boolean;
51
- back?: boolean;
52
- next?: boolean;
53
- start?: boolean;
54
- };
55
- interface InterstitialScreenContextType {
56
- bodyChildrenData?: ReactNode;
57
- setBodyChildrenData?: (value: ReactNode) => void;
58
- isFullScreen?: boolean;
59
- handleClose?: (value: ActionType) => void;
60
- progStep: number;
61
- setProgStep?: (value: number) => void;
62
- bodyScrollRef?: RefObject<HTMLDivElement | null>;
63
- scrollRef?: RefObject<HTMLDivElement>;
64
- handleGotoStep?: (value: number) => void;
65
- stepCount: number;
66
- setStepCount?: (value: number) => void;
67
- disableButtonConfig?: disableButtonConfigType;
68
- setDisableButtonConfig?: (value: disableButtonConfigType) => void;
69
- }
70
- export declare const InterstitialScreenContext: React.Context<InterstitialScreenContextType>;
71
48
  /**
72
49
  * InterstitialScreen can be a full page or an overlay, and are
73
50
  * shown on the first time a user accesses a new experience
@@ -75,4 +52,3 @@ export declare const InterstitialScreenContext: React.Context<InterstitialScreen
75
52
  * newly purchased capability is presented).
76
53
  */
77
54
  export declare let InterstitialScreen: InterstitialScreenComponent;
78
- export {};
@@ -17,28 +17,12 @@ var settings = require('../../settings.js');
17
17
  var InterstitialScreenHeader = require('./InterstitialScreenHeader.js');
18
18
  var InterstitialScreenBody = require('./InterstitialScreenBody.js');
19
19
  var InterstitialScreenFooter = require('./InterstitialScreenFooter.js');
20
+ var context = require('./context.js');
20
21
 
21
- // The block part of our conventional BEM class names (blockClass__E--M).
22
- const blockClass = `${settings.pkg.prefix}--interstitial-screen`;
23
22
  const componentName = 'InterstitialScreen';
24
23
 
25
- // NOTE: the component SCSS is not imported here: it is rolled up separately.
26
-
27
- // Default values can be included here and then assigned to the prop params,
28
- // e.g. prop = defaults.prop,
29
- // This gathers default values together neatly and ensures non-primitive
30
- // values are initialized early to avoid react making unnecessary re-renders.
31
- // Note that default values are not required for props that are 'required',
32
- // nor for props where the component can apply undefined values reasonably.
33
- // Default values should be provided when the component needs to make a choice
34
- // or assumption when a prop is not supplied.
35
-
36
24
  // Define the type for InterstitialScreen, extending it to include Header
37
25
 
38
- const InterstitialScreenContext = /*#__PURE__*/React.createContext({
39
- progStep: 0,
40
- stepCount: 0
41
- });
42
26
  /**
43
27
  * InterstitialScreen can be a full page or an overlay, and are
44
28
  * shown on the first time a user accesses a new experience
@@ -71,7 +55,7 @@ exports.InterstitialScreen = /*#__PURE__*/React.forwardRef((props, ref) => {
71
55
  next: false,
72
56
  start: false
73
57
  });
74
- const variantClass = isFullScreen ? `${blockClass}--full-screen` : `${blockClass}--modal`;
58
+ const variantClass = isFullScreen ? `${context.blockClass}--full-screen` : `${context.blockClass}--modal`;
75
59
  const [bodyChildrenData, setBodyChildrenData] = React.useState(null);
76
60
  const handleClose = React.useCallback(actionName => {
77
61
  setProgStep(0);
@@ -115,7 +99,7 @@ exports.InterstitialScreen = /*#__PURE__*/React.forwardRef((props, ref) => {
115
99
  enableExperimentalFocusWrapWithoutSentinels: true
116
100
  }, /*#__PURE__*/React.createElement(react.ComposedModal, _rollupPluginBabelHelpers.extends({}, rest, {
117
101
  preventCloseOnClickOutside: true,
118
- className: cx(blockClass,
102
+ className: cx(context.blockClass,
119
103
  // Apply the block class to the main HTML element
120
104
  className // Apply any supplied class names to the main HTML element.
121
105
  ),
@@ -128,7 +112,7 @@ exports.InterstitialScreen = /*#__PURE__*/React.forwardRef((props, ref) => {
128
112
  };
129
113
  const renderFullScreen = () => {
130
114
  return /*#__PURE__*/React.createElement("div", _rollupPluginBabelHelpers.extends({}, rest, {
131
- className: cx(blockClass,
115
+ className: cx(context.blockClass,
132
116
  // Apply the block class to the main HTML element
133
117
  className,
134
118
  // Apply any supplied class names to the main HTML element.
@@ -137,7 +121,7 @@ exports.InterstitialScreen = /*#__PURE__*/React.forwardRef((props, ref) => {
137
121
  "aria-label": ariaLabel,
138
122
  ref: ref
139
123
  }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement("div", {
140
- className: `${blockClass}--container`
124
+ className: `${context.blockClass}--container`
141
125
  }, children));
142
126
  };
143
127
  const handleGotoStep = targetStep => {
@@ -151,7 +135,7 @@ exports.InterstitialScreen = /*#__PURE__*/React.forwardRef((props, ref) => {
151
135
  behavior: 'smooth'
152
136
  });
153
137
  };
154
- return /*#__PURE__*/React.createElement(InterstitialScreenContext.Provider, {
138
+ return /*#__PURE__*/React.createElement(context.InterstitialScreenContext.Provider, {
155
139
  value: {
156
140
  bodyChildrenData,
157
141
  setBodyChildrenData,
@@ -214,6 +198,3 @@ exports.InterstitialScreen.propTypes = {
214
198
  */
215
199
  open: index.default.bool
216
200
  };
217
-
218
- exports.InterstitialScreenContext = InterstitialScreenContext;
219
- exports.blockClass = blockClass;
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactElement, ReactNode } from 'react';
8
- import { disableButtonConfigType } from './InterstitialScreen';
8
+ import { disableButtonConfigType } from './context';
9
9
  import { EnrichedChildren } from './InterstitialScreenHeader';
10
10
  type contentRendererArgs = {
11
11
  handleGotoStep?: (value: number) => void;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
14
  var index = require('../../_virtual/index.js');
15
- var InterstitialScreen = require('./InterstitialScreen.js');
15
+ var context = require('./context.js');
16
16
  var react = require('@carbon/react');
17
17
  var Carousel = require('../Carousel/Carousel.js');
18
18
  require('../Carousel/CarouselItem.js');
@@ -24,7 +24,7 @@ const InterstitialScreenBody = /*#__PURE__*/React.forwardRef((props, ref) => {
24
24
  contentRenderer,
25
25
  ...rest
26
26
  } = props;
27
- const bodyBlockClass = `${InterstitialScreen.blockClass}--internal-body`;
27
+ const bodyBlockClass = `${context.blockClass}--internal-body`;
28
28
  const [stepType, setStepType] = React.useState();
29
29
  const {
30
30
  setBodyChildrenData,
@@ -38,7 +38,7 @@ const InterstitialScreenBody = /*#__PURE__*/React.forwardRef((props, ref) => {
38
38
  setStepCount,
39
39
  disableButtonConfig,
40
40
  setDisableButtonConfig
41
- } = React.useContext(InterstitialScreen.InterstitialScreenContext);
41
+ } = React.useContext(context.InterstitialScreenContext);
42
42
  const [scrollPercent, setScrollPercent] = React.useState(-1);
43
43
  React.useEffect(() => {
44
44
  const _bodyContent = contentRenderer?.({
@@ -77,12 +77,12 @@ const InterstitialScreenBody = /*#__PURE__*/React.forwardRef((props, ref) => {
77
77
  };
78
78
  const onScrollHandler = scrollPercent => setScrollPercent(scrollPercent);
79
79
  const renderBody = () => /*#__PURE__*/React.createElement("div", _rollupPluginBabelHelpers.extends({
80
- className: `${InterstitialScreen.blockClass}--body ${className}`,
80
+ className: `${context.blockClass}--body ${className}`,
81
81
  ref: bodyScrollRef ?? ref
82
82
  }, devtools.getDevtoolsProps('InterstitialScreenBody'), isFullScreen ? rest : {}), /*#__PURE__*/React.createElement("div", {
83
- className: `${InterstitialScreen.blockClass}--content`
83
+ className: `${context.blockClass}--content`
84
84
  }, stepType === 'multi' ? /*#__PURE__*/React.createElement("div", {
85
- className: `${InterstitialScreen.blockClass}__carousel`
85
+ className: `${context.blockClass}__carousel`
86
86
  }, /*#__PURE__*/React.createElement(Carousel.Carousel, {
87
87
  disableArrowScroll: true,
88
88
  ref: scrollRef,
@@ -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
- import { ActionType, disableButtonConfigType } from './InterstitialScreen';
8
+ import { ActionType, disableButtonConfigType } from './context';
9
9
  type actionButtonRendererArgs = {
10
10
  handleGotoStep?: (value: number) => void;
11
11
  progStep?: number;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
14
  var index = require('../../_virtual/index.js');
15
- var InterstitialScreen = require('./InterstitialScreen.js');
15
+ var context = require('./context.js');
16
16
  var react = require('@carbon/react');
17
17
  var clamp = require('../../global/js/utils/clamp.js');
18
18
  var icons = require('@carbon/react/icons');
@@ -30,7 +30,7 @@ const InterstitialScreenFooter = /*#__PURE__*/React.forwardRef((props, ref) => {
30
30
  onAction,
31
31
  ...rest
32
32
  } = props;
33
- const footerBlockClass = `${InterstitialScreen.blockClass}--footer`;
33
+ const footerBlockClass = `${context.blockClass}--footer`;
34
34
  const {
35
35
  handleClose,
36
36
  progStep,
@@ -38,7 +38,7 @@ const InterstitialScreenFooter = /*#__PURE__*/React.forwardRef((props, ref) => {
38
38
  stepCount,
39
39
  disableButtonConfig,
40
40
  isFullScreen
41
- } = React.useContext(InterstitialScreen.InterstitialScreenContext);
41
+ } = React.useContext(context.InterstitialScreenContext);
42
42
  const startButtonRef = React.useRef(null);
43
43
  const nextButtonRef = React.useRef(null);
44
44
  const [loadingAction, setLoadingAction] = React.useState('');
@@ -84,23 +84,23 @@ const InterstitialScreenFooter = /*#__PURE__*/React.forwardRef((props, ref) => {
84
84
  return {};
85
85
  }, [loadingAction, isMultiStep, progStep, progStepCeil]);
86
86
  const getFooterContent = () => /*#__PURE__*/React.createElement(React.Fragment, null, isMultiStep && skipButtonLabel !== '' && /*#__PURE__*/React.createElement(react.Button, {
87
- className: `${InterstitialScreen.blockClass}--skip-btn`,
87
+ className: `${context.blockClass}--skip-btn`,
88
88
  kind: "ghost",
89
89
  size: "lg",
90
90
  title: skipButtonLabel,
91
91
  onClick: handleSkip,
92
92
  disabled: disableButtonConfig?.skip
93
93
  }, skipButtonLabel, loadingAction === 'skip' && (_InlineLoading || (_InlineLoading = /*#__PURE__*/React.createElement(react.InlineLoading, null)))), /*#__PURE__*/React.createElement("div", {
94
- className: `${InterstitialScreen.blockClass}--footer-controls`
94
+ className: `${context.blockClass}--footer-controls`
95
95
  }, isMultiStep && progStep > 0 && /*#__PURE__*/React.createElement(react.Button, {
96
- className: `${InterstitialScreen.blockClass}--prev-btn`,
96
+ className: `${context.blockClass}--prev-btn`,
97
97
  kind: "secondary",
98
98
  size: "lg",
99
99
  title: previousButtonLabel,
100
100
  disabled: disableButtonConfig?.back,
101
101
  onClick: handleClickPrev
102
102
  }, previousButtonLabel, loadingAction === 'back' && (_InlineLoading2 || (_InlineLoading2 = /*#__PURE__*/React.createElement(react.InlineLoading, null)))), isMultiStep && progStep < progStepCeil && /*#__PURE__*/React.createElement(react.Button, {
103
- className: `${InterstitialScreen.blockClass}--next-btn`,
103
+ className: `${context.blockClass}--next-btn`,
104
104
  renderIcon: loadingAction !== 'next' ? icons.ArrowRight : undefined,
105
105
  ref: nextButtonRef,
106
106
  size: "lg",
@@ -108,7 +108,7 @@ const InterstitialScreenFooter = /*#__PURE__*/React.forwardRef((props, ref) => {
108
108
  disabled: disableButtonConfig?.next,
109
109
  onClick: handleClickNext
110
110
  }, nextButtonLabel, loadingAction === 'next' && (_InlineLoading3 || (_InlineLoading3 = /*#__PURE__*/React.createElement(react.InlineLoading, null)))), (isMultiStep && progStep === progStepCeil || !isMultiStep) && /*#__PURE__*/React.createElement(react.Button, _rollupPluginBabelHelpers.extends({
111
- className: `${InterstitialScreen.blockClass}--start-btn`,
111
+ className: `${context.blockClass}--start-btn`,
112
112
  ref: startButtonRef,
113
113
  size: "lg",
114
114
  title: startButtonLabel,
@@ -117,7 +117,7 @@ const InterstitialScreenFooter = /*#__PURE__*/React.forwardRef((props, ref) => {
117
117
  }, getRenderIcon), startButtonLabel, loadingAction === 'start' && (_InlineLoading4 || (_InlineLoading4 = /*#__PURE__*/React.createElement(react.InlineLoading, null))))));
118
118
  if (actionButtonRenderer) {
119
119
  return /*#__PURE__*/React.createElement("div", {
120
- className: `${InterstitialScreen.blockClass}--footer`
120
+ className: `${context.blockClass}--footer`
121
121
  }, actionButtonRenderer({
122
122
  handleGotoStep,
123
123
  progStep,
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024, 2025
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
+ */
1
7
  import React from 'react';
2
8
  export interface InterstitialScreenHeaderProps {
3
9
  /**
@@ -14,7 +14,7 @@ var react = require('@carbon/react');
14
14
  var React = require('react');
15
15
  var index = require('../../_virtual/index.js');
16
16
  var cx = require('classnames');
17
- var InterstitialScreen = require('./InterstitialScreen.js');
17
+ var context = require('./context.js');
18
18
  var useId = require('../../global/js/utils/useId.js');
19
19
  var devtools = require('../../global/js/utils/devtools.js');
20
20
 
@@ -35,15 +35,15 @@ const InterstitialScreenHeader = /*#__PURE__*/React.forwardRef((props, ref) => {
35
35
  progStep,
36
36
  handleClose,
37
37
  stepCount
38
- } = React.useContext(InterstitialScreen.InterstitialScreenContext);
39
- const headerBlockClass = `${InterstitialScreen.blockClass}--internal-header`;
38
+ } = React.useContext(context.InterstitialScreenContext);
39
+ const headerBlockClass = `${context.blockClass}--internal-header`;
40
40
  const _useId = useId.useId();
41
41
  const carbonPrefix = react.usePrefix();
42
42
  const headerContent = () => {
43
43
  return /*#__PURE__*/React.createElement(React.Fragment, null, (headerTitle || headerSubTitle) && /*#__PURE__*/React.createElement("div", {
44
- className: `${InterstitialScreen.blockClass}--titleContainer`
44
+ className: `${context.blockClass}--titleContainer`
45
45
  }, headerTitle && (_h || (_h = /*#__PURE__*/React.createElement("h1", null, headerTitle))), headerSubTitle && (_h2 || (_h2 = /*#__PURE__*/React.createElement("h2", null, headerSubTitle)))), children, !hideProgressIndicator && bodyChildrenData && Array.isArray(bodyChildrenData) && /*#__PURE__*/React.createElement("div", {
46
- className: `${InterstitialScreen.blockClass}--progress`
46
+ className: `${context.blockClass}--progress`
47
47
  }, /*#__PURE__*/React.createElement(react.ProgressIndicator, {
48
48
  vertical: false,
49
49
  currentIndex: progStep
@@ -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
- import { disableButtonConfigType } from '../../InterstitialScreen';
8
+ import { disableButtonConfigType } from '../../context';
9
9
  import './_interstitial-screen-view-module.scss';
10
10
  export interface InterstitialScreenViewModuleProps {
11
11
  /**
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
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 { ReactNode, RefObject } from 'react';
8
+ export type ActionType = 'close' | 'start' | 'skip' | 'back' | 'next';
9
+ export type disableButtonConfigType = {
10
+ skip?: boolean;
11
+ back?: boolean;
12
+ next?: boolean;
13
+ start?: boolean;
14
+ };
15
+ export interface InterstitialScreenContextType {
16
+ bodyChildrenData?: ReactNode;
17
+ setBodyChildrenData?: (value: ReactNode) => void;
18
+ isFullScreen?: boolean;
19
+ handleClose?: (value: ActionType) => void;
20
+ progStep: number;
21
+ setProgStep?: (value: number) => void;
22
+ bodyScrollRef?: RefObject<HTMLDivElement | null>;
23
+ scrollRef?: RefObject<HTMLDivElement>;
24
+ handleGotoStep?: (value: number) => void;
25
+ stepCount: number;
26
+ setStepCount?: (value: number) => void;
27
+ disableButtonConfig?: disableButtonConfigType;
28
+ setDisableButtonConfig?: (value: disableButtonConfigType) => void;
29
+ }
30
+ export declare const blockClass: string;
31
+ export declare const InterstitialScreenContext: import("react").Context<InterstitialScreenContextType>;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright IBM Corp. 2020, 2025
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 React = require('react');
11
+ var settings = require('../../settings.js');
12
+
13
+ // The block part of our conventional BEM class names (blockClass__E--M).
14
+ const blockClass = `${settings.pkg.prefix}--interstitial-screen`;
15
+ const InterstitialScreenContext = /*#__PURE__*/React.createContext({
16
+ progStep: 0,
17
+ stepCount: 0
18
+ });
19
+
20
+ exports.InterstitialScreenContext = InterstitialScreenContext;
21
+ exports.blockClass = blockClass;
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Copyright IBM Corp. 2024, 2024
2
+ * Copyright IBM Corp. 2024, 2025
3
3
  *
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
7
  export { InterstitialScreen } from './InterstitialScreen';
8
- export type { InterstitialScreenProps, InterstitialScreenComponent, disableButtonConfigType, ActionType, } from './InterstitialScreen';
8
+ export type { InterstitialScreenProps, InterstitialScreenComponent, } from './InterstitialScreen';
9
+ export type { disableButtonConfigType, ActionType } from './context';
9
10
  export type { InterstitialScreenBodyProps } from './InterstitialScreenBody';
10
11
  export type { InterstitialScreenFooterProps } from './InterstitialScreenFooter';
11
12
  export type { InterstitialScreenHeaderProps } from './InterstitialScreenHeader';
@@ -30,6 +30,7 @@ var useId = require('../../global/js/utils/useId.js');
30
30
  var settings = require('../../settings.js');
31
31
  var utils = require('./utils.js');
32
32
  var usePresence = require('../../global/js/hooks/usePresence.js');
33
+ var useClickOutside = require('../../global/js/hooks/useClickOutside.js');
33
34
 
34
35
  var _Close;
35
36
 
@@ -135,6 +136,7 @@ exports.NotificationsPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
135
136
  const supportedLocale = getSupportedLocale.getSupportedLocale(dateTimeLocale, DefaultLocale);
136
137
  react.usePrefix();
137
138
  const headingId = useId.useId();
139
+ const isClickOnTrigger = React.useRef(false);
138
140
  const reducedMotion = usePrefersReducedMotion.usePrefersReducedMotion();
139
141
  const exitAnimationName = reducedMotion ? 'notifications-panel-exit-reduced' : 'notifications-panel-fade-out';
140
142
  const {
@@ -144,17 +146,28 @@ exports.NotificationsPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
144
146
  // Set the notifications passed to the state within this component
145
147
  setAllNotifications(data);
146
148
  }, [data]);
147
-
148
- // useClickOutside(ref || notificationPanelRef, (target) => {
149
- // const element = target as HTMLElement;
150
- // if (!isActionableElement(element)) {
151
- // setTimeout(() => {
152
- // triggerButtonRef?.current?.focus();
153
- // }, 100);
154
- // }
155
- // onClickOutside?.();
156
- // });
157
-
149
+ React.useEffect(() => {
150
+ const button = triggerButtonRef?.current;
151
+ const handleClick = () => {
152
+ isClickOnTrigger.current = true;
153
+ };
154
+ button?.addEventListener('click', handleClick, true);
155
+ return () => {
156
+ button?.removeEventListener('click', handleClick, true);
157
+ };
158
+ }, [triggerButtonRef]);
159
+ useClickOutside.useClickOutside(ref || notificationPanelRef, target => {
160
+ const element = target;
161
+ if (!isClickOnTrigger.current) {
162
+ if (!isActionableElement(element)) {
163
+ setTimeout(() => {
164
+ triggerButtonRef?.current?.focus();
165
+ }, 100);
166
+ }
167
+ onClickOutside?.();
168
+ }
169
+ isClickOnTrigger.current = false;
170
+ });
158
171
  const handleKeydown = event => {
159
172
  event.stopPropagation();
160
173
  if (event.key === 'Escape') {
@@ -312,6 +325,17 @@ exports.NotificationsPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
312
325
  size: 16
313
326
  }))));
314
327
  };
328
+ const isActionableElement = el => {
329
+ if (!el) {
330
+ return false;
331
+ }
332
+ const interactiveRoles = new Set(['button', 'link', 'textbox', 'checkbox', 'radio', 'slider', 'spinbutton', 'combobox', 'switch', 'menuitem']);
333
+ const actionableAncestor = el.closest('button, a, input, select, textarea, [tabindex], [contenteditable="true"], [role]');
334
+ if (!actionableAncestor) {
335
+ return false;
336
+ }
337
+ return actionableAncestor instanceof HTMLButtonElement || actionableAncestor instanceof HTMLAnchorElement || actionableAncestor instanceof HTMLInputElement || actionableAncestor instanceof HTMLSelectElement || actionableAncestor instanceof HTMLTextAreaElement || actionableAncestor.tabIndex >= 0 || actionableAncestor.isContentEditable || interactiveRoles.has(actionableAncestor.getAttribute('role')?.toLowerCase() ?? '');
338
+ };
315
339
  const dismissSingleNotification = (event, notification) => {
316
340
  event.preventDefault();
317
341
  event.stopPropagation();
@@ -324,8 +348,7 @@ exports.NotificationsPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
324
348
  as: "div",
325
349
  role: "dialog",
326
350
  "aria-labelledby": headingId,
327
- onKeyDown: handleKeydown,
328
- tabIndex: 0
351
+ onKeyDown: handleKeydown
329
352
  }, rest, {
330
353
  id: blockClass,
331
354
  className: cx(blockClass, className, `${blockClass}__container`, {
@@ -293,7 +293,8 @@ export type PageHeaderProps = PageHeaderBaseProps & PageActionProps & CollapseHe
293
293
  export declare let PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
294
294
  export declare const deprecatedProps: {
295
295
  /**
296
- * **Deprecated** see property `enableBreadcrumbScroll`
296
+ * **Deprecated**
297
+ * see property `enableBreadcrumbScroll`
297
298
  */
298
299
  disableBreadcrumbScroll: (props: any, propName: any, comp: any, loc: any, propFullName: any, secret: any) => any;
299
300
  /**
@@ -554,7 +554,8 @@ const TYPES = {
554
554
  const tagTypes = Object.keys(TYPES);
555
555
  const deprecatedProps = {
556
556
  /**
557
- * **Deprecated** see property `enableBreadcrumbScroll`
557
+ * **Deprecated**
558
+ * see property `enableBreadcrumbScroll`
558
559
  */
559
560
  disableBreadcrumbScroll: propsHelper.deprecateProp(index.default.bool, 'Property replaced by `enableBreadcrumbScroll`'),
560
561
  /**
@@ -1,10 +1,11 @@
1
1
  /**
2
- * Copyright IBM Corp. 2025
2
+ * Copyright IBM Corp. 2025, 2025
3
3
  *
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
7
  import React, { type ComponentType, type FunctionComponent } from 'react';
8
+ import { IconButtonProps, BreadcrumbItemProps, BreadcrumbProps } from '@carbon/react';
8
9
  import { TYPES } from '@carbon/react/es/components/Tag/Tag';
9
10
  /**
10
11
  * ----------
@@ -208,8 +209,19 @@ interface PageHeaderTabBarProps {
208
209
  children?: React.ReactNode;
209
210
  className?: string;
210
211
  tags?: TagItem[];
212
+ scroller?: React.ReactNode;
211
213
  }
212
214
  declare const PageHeaderTabBar: React.ForwardRefExoticComponent<PageHeaderTabBarProps & React.RefAttributes<HTMLDivElement>>;
215
+ interface PageHeaderScrollButtonProps extends IconButtonProps {
216
+ collapseText?: string;
217
+ expandText?: string;
218
+ }
219
+ declare const PageHeaderScrollButton: React.ForwardRefExoticComponent<PageHeaderScrollButtonProps & React.RefAttributes<HTMLDivElement>>;
220
+ declare const PageHeaderTitleBreadcrumb: React.ForwardRefExoticComponent<BreadcrumbItemProps & React.RefAttributes<HTMLLIElement>>;
221
+ interface PageHeaderBreadcrumbOverflowProps extends BreadcrumbProps {
222
+ renderOverflowBreadcrumb?: (hiddenBreadcrumbs: HTMLElement[]) => React.ReactElement<BreadcrumbItemProps>;
223
+ }
224
+ declare const PageHeaderBreadcrumbOverflow: React.ForwardRefExoticComponent<PageHeaderBreadcrumbOverflowProps & React.RefAttributes<HTMLElement>>;
213
225
  /**
214
226
  * -------
215
227
  * Exports
@@ -273,5 +285,8 @@ declare const HeroImage: {
273
285
  };
274
286
  };
275
287
  declare const TabBar: React.ForwardRefExoticComponent<PageHeaderTabBarProps & React.RefAttributes<HTMLDivElement>>;
276
- export { PageHeader, PageHeaderBreadcrumbBar, PageHeaderContent, PageHeaderContentPageActions, PageHeaderContentText, PageHeaderHeroImage, PageHeaderTabBar, Root, BreadcrumbBar, Content, ContentPageActions, ContentText, HeroImage, TabBar, };
277
- export type { PageHeaderProps, PageHeaderBreadcrumbBarProps, PageHeaderContentProps, PageHeaderContentPageActionsProps, PageHeaderContentTextProps, PageHeaderHeroImageProps, PageHeaderTabBarProps, };
288
+ declare const ScrollButton: React.ForwardRefExoticComponent<PageHeaderScrollButtonProps & React.RefAttributes<HTMLDivElement>>;
289
+ declare const TitleBreadcrumb: React.ForwardRefExoticComponent<BreadcrumbItemProps & React.RefAttributes<HTMLLIElement>>;
290
+ declare const BreadcrumbOverflow: React.ForwardRefExoticComponent<PageHeaderBreadcrumbOverflowProps & React.RefAttributes<HTMLElement>>;
291
+ export { PageHeader, PageHeaderBreadcrumbBar, PageHeaderContent, PageHeaderContentPageActions, PageHeaderContentText, PageHeaderHeroImage, PageHeaderTabBar, PageHeaderScrollButton, PageHeaderTitleBreadcrumb, PageHeaderBreadcrumbOverflow, Root, BreadcrumbBar, Content, ContentPageActions, ContentText, HeroImage, TabBar, ScrollButton, TitleBreadcrumb, BreadcrumbOverflow, };
292
+ export type { PageHeaderProps, PageHeaderBreadcrumbBarProps, PageHeaderContentProps, PageHeaderContentPageActionsProps, PageHeaderContentTextProps, PageHeaderHeroImageProps, PageHeaderTabBarProps, PageHeaderScrollButtonProps, };