From 1db30431b9a00951406616d126adfbe03fcdd676 Mon Sep 17 00:00:00 2001 From: Will Breitkreutz Date: Wed, 5 Feb 2025 11:32:55 -0600 Subject: [PATCH] Fix var name (#151) * Update `msgBanner` to accept JSX and update documentation. Includes optional positioning above or below the header. * add warning for developers using msgBannerPosition * fix var name * Add Progress Load Bar Component (#143) * Create progress component and add import for lib * Create documentation page. Add Route + Link. * Ensure width is a whole % to avoid css issues * 3.11.0 * expose defaultIndex on Tabs component (#148) * expose defaultIndex on Tabs component * add defaultIndex prop documentation * 3.12.0 * Link Provider (#142) * Add LinkProvider and Link components * Add hrefMap prop to LinkProvider Allows user to map a different prop key to the default href key so that internal groundwork usage still works, e.g. for React Router hrefMap="to" * Replace existing catalyst Links with gw version * Put the catalyst Link component back in its box * Update library internal links to use External links can remain as * Forward ref in Link component Need to forward ref for Link to maintain compatibility with the redux-bundler routing pattern. * Export Link and LinkProvider with library * Add documentation for LinkProvider * Remove unnecessary statement * Add docs example demonstrating ClientRouter usage * 3.13.0 * 3.14.0 --------- Co-authored-by: Charles Graham Co-authored-by: Brandon Kolze --- lib/composite/site-wrapper/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/composite/site-wrapper/index.jsx b/lib/composite/site-wrapper/index.jsx index cdc95df..298dd68 100644 --- a/lib/composite/site-wrapper/index.jsx +++ b/lib/composite/site-wrapper/index.jsx @@ -31,7 +31,7 @@ function SiteWrapper({ warningTimeout = undefined, }) { // Warn developer that msgBannerPosition should either be top or bottom, but nothing else. - if (!["top", "bottom"].includes(messageBannerPosition)) { + if (!["top", "bottom"].includes(msgBannerPosition)) { console.warn( "You must specify top or bottom for messageBannerPosition. Ignoring parameter" );