Document new `expirationDate` prop for AlertBanner
This commit is contained in:
parent
484ef8a1e8
commit
4439d8fa0b
|
@ -2,9 +2,12 @@ export const ALERT_BANNER_ACTIVE = true
|
|||
|
||||
// https://github.com/hashicorp/web-components/tree/master/packages/alert-banner
|
||||
export default {
|
||||
url:
|
||||
'https://www.hashicorp.com/blog/announcing-general-availability-of-hashicorp-nomad-0-12',
|
||||
tag: 'ANNOUNCING',
|
||||
linkText: 'Register now',
|
||||
url: 'https://www.hashicorp.com/events/webinars/introducing-nomad-1-0',
|
||||
tag: 'ANNOUNCEMENT',
|
||||
text:
|
||||
'Nomad 0.12 is now generally available, which includes 15+ new features and our breakthrough Multi-Cluster Deployment. Learn more!',
|
||||
'Join us on Oct 27th for the Nomad 1.0 Product Announcement with Armon Dadgar',
|
||||
// Set the `expirationDate prop with a datetime string (e.g. `2020-01-31T12:00:00-07:00`)
|
||||
// if you'd like the component to stop showing at or after a certain date
|
||||
expirationDate: '2020-10-27T09:00:00-07:00',
|
||||
}
|
||||
|
|
|
@ -1598,11 +1598,10 @@
|
|||
"integrity": "sha512-03qWTvECGrG2Z0cm/w71J/KmSBJrUem1QTdRuGFHLTPGgAdIgI90xWpYWmUjGw7gXrxJ/q1yY2JwbfpHwRrpPg=="
|
||||
},
|
||||
"@hashicorp/react-alert-banner": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-alert-banner/-/react-alert-banner-3.1.0.tgz",
|
||||
"integrity": "sha512-7Alg7nJ9EKa2mDU5zxutkEcSaiXE7JbSTALMhRFHRrg9P0cHcAkxMdetgQn2GY05dGCu0YoOr96f2nhMmu4hrw==",
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@hashicorp/react-alert-banner/-/react-alert-banner-4.2.0.tgz",
|
||||
"integrity": "sha512-mLi5caKU41L6ZMqQ/mQN9jrgPESzxIqxoKchmB0TpJqwHnUG46UPokWbQovXgtPnAUrXDyLYU0Sp3gaIsDuI9Q==",
|
||||
"requires": {
|
||||
"@hashicorp/react-global-styles": "^4.4.0",
|
||||
"js-cookie": "2.2.0",
|
||||
"slugify": "1.3.4"
|
||||
},
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"author": "HashiCorp",
|
||||
"dependencies": {
|
||||
"@hashicorp/nextjs-scripts": "13.0.0",
|
||||
"@hashicorp/react-alert-banner": "3.1.0",
|
||||
"@hashicorp/react-alert-banner": "4.2.0",
|
||||
"@hashicorp/react-button": "3.0.2",
|
||||
"@hashicorp/react-call-to-action": "0.2.1",
|
||||
"@hashicorp/react-case-study-slider": "2.1.1",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
@import '~@hashicorp/react-global-styles/custom-properties/font.css';
|
||||
@import '~@hashicorp/react-global-styles/_temporary-to-remove/layout.css';
|
||||
@import '~@hashicorp/react-global-styles/_temporary-to-remove/tables.css';
|
||||
@import '~@hashicorp/react-alert-banner/dist/style.css';
|
||||
@import '~@hashicorp/react-alert-banner/style.css';
|
||||
@import '~@hashicorp/nextjs-scripts/prism/style.css';
|
||||
|
||||
:root {
|
||||
|
|
Loading…
Reference in New Issue