You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(PageHeader): deprecate components and docs, point to ibm-products (#22120)
* fix(PageHeader): deprecate components and docs, point to ibm-products
* fix: revert live demo back to original
* fix: pageheader.mdx formatting
* fix: update cli use
* fix(upgrade): propagate migration flags and merge PageHeader imports
---------
Co-authored-by: Sangeetha Babu <sangeetha9223@gmail.com>
'Warning: The `PageHeader` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
90
+
);
91
+
expect(consoleWarn).toHaveBeenCalledWith(
92
+
'Warning: The `PageHeaderBreadcrumbBar` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
93
+
);
94
+
expect(consoleWarn).toHaveBeenCalledWith(
95
+
'Warning: The `PageHeaderContent` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
96
+
);
97
+
expect(consoleWarn).toHaveBeenCalledWith(
98
+
'Warning: The `PageHeaderContentPageActions` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
99
+
);
100
+
expect(consoleWarn).toHaveBeenCalledWith(
101
+
'Warning: The `PageHeaderContentText` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
102
+
);
103
+
expect(consoleWarn).toHaveBeenCalledWith(
104
+
'Warning: The `PageHeaderHeroImage` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
105
+
);
106
+
expect(consoleWarn).toHaveBeenCalledWith(
107
+
'Warning: The `PageHeaderTabBar` component in `@carbon/react` has been deprecated and moved to `@carbon/ibm-products`. See https://github.com/carbon-design-system/carbon/issues/21926'
0 commit comments