@hashicorp/react-components 1.2.0 → 1.2.1
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashicorp/react-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"main": "src/index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "npm run lint:js",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@hashicorp/flight-icons": "^3.7.0",
|
|
13
|
-
"@web/product-meta": "^0.1.1",
|
|
14
13
|
"@hashicorp/web-mktg-logos": "*",
|
|
15
14
|
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
16
15
|
"@radix-ui/react-visually-hidden": "^1.2.4",
|
|
@@ -3,7 +3,6 @@ import Link from 'next/link'
|
|
|
3
3
|
import * as NavPanel from '../components/panel'
|
|
4
4
|
import Promo, { type PromoProps } from '../components/promo'
|
|
5
5
|
import { getLocalizedLinkProps } from '../../../lib/get-localized-link-props'
|
|
6
|
-
import { Products } from '@web/product-meta'
|
|
7
6
|
import FlightIcon from '../components/flight-icon'
|
|
8
7
|
import { Text } from '../components/text'
|
|
9
8
|
import { trackNavClickEvent } from '../../../lib/track-nav-click-event'
|
|
@@ -160,6 +159,16 @@ const ProductPanel = ({
|
|
|
160
159
|
)
|
|
161
160
|
}
|
|
162
161
|
|
|
162
|
+
type Products =
|
|
163
|
+
| 'hashicorp'
|
|
164
|
+
| 'boundary'
|
|
165
|
+
| 'consul'
|
|
166
|
+
| 'nomad'
|
|
167
|
+
| 'packer'
|
|
168
|
+
| 'terraform'
|
|
169
|
+
| 'vault'
|
|
170
|
+
| 'vagrant'
|
|
171
|
+
| 'waypoint'
|
|
163
172
|
export interface NavProductProps {
|
|
164
173
|
locale?: string
|
|
165
174
|
url: string
|