![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@myuw-web-components/myuw-banner
Advanced tools
A component for displaying slightly-interruptive messages via a banner below the top app bar.
A component for displaying slightly-interruptive messages via a banner below the top app bar.
Include the component as follows:
<!-- import the module -->
<script type="module" src="https://cdn.my.wisc.edu/@myuw-web-components/myuw-banner@latest/myuw-banner.min.mjs"></script>
<!-- fallback for browsers without ES2015 module support -->
<script nomodule src="https://cdn.my.wisc.edu/@myuw-web-components/myuw-banner@latest/myuw-banner.min.js"></script>
<myuw-banner
message="MyUW"
icon=""
action-label=""
action-aria-label=""
action-url=""
learn-more-aria-label=""
learn-more-url=""
></myuw-banner>
Note: The evergreen "latest" version can be used for convenience, but in production settings it is recommended to use the latest release version specifically, and upgrade only after testing!
MyUW app bar exposes custom CSS properties so users can change some of its styles.
--myuw-banner-bg
: Sets the banner's background color--myuw-on-banner
: Sets the text color of banner text--myuw-anchor-color
: Used for the button and icon colors (also used to set link colors)--myuw-button-transparency
: Used for the on-hover background color for buttonsFor more information about CSS variables and how they work with MyUW Web Components, reference the styles component
Add the following selector to your CSS:
myuw-banner {
--myuw-banner-bg: #c5050c;
--myuw-on-banner: #fff;
}
To run the demo app locally and test the component, run the following commands:
$ npm install
$ npm start
To release a new version:
package.json
and package-lock.json
reflect this version,
and that there's a tag for the version pushed to the canonical git repository.
(One good way to do this is npm version {type}
and then pushing the tag.)npm publish
to publish the version as now described in package.json
CHANGELOG.md
reflects this version and its release date.3.0.3
FAQs
A component for displaying slightly-interruptive messages via a banner below the top app bar.
The npm package @myuw-web-components/myuw-banner receives a total of 306 weekly downloads. As such, @myuw-web-components/myuw-banner popularity was classified as not popular.
We found that @myuw-web-components/myuw-banner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.