@hashicorp/react-components 0.0.0-canary.866e055 → 0.0.0-canary.96df0c1

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": "0.0.0-canary.866e055",
3
+ "version": "0.0.0-canary.96df0c1",
4
4
  "main": "src/index.ts",
5
5
  "scripts": {
6
6
  "lint": "next-hashicorp lint",
@@ -13,7 +13,8 @@
13
13
  "@hashicorp/platform-util": "^0.2.0",
14
14
  "@hashicorp/react-design-system-components": "*",
15
15
  "@hashicorp/web-mktg-logos": "*",
16
- "@radix-ui/react-visually-hidden": "^1.0.3",
16
+ "@radix-ui/react-navigation-menu": "^1.2.0",
17
+ "@radix-ui/react-visually-hidden": "^1.1.0",
17
18
  "@vercel/analytics": "^1.3.1",
18
19
  "@vercel/fetch": "^7.0.0",
19
20
  "@vercel/stega": "^0.1.2",
@@ -1,4 +1,4 @@
1
- export function parseUrl(url: string): {
1
+ export function parseUrl(url: string | undefined): {
2
2
  linkType: 'inbound' | 'outbound'
3
3
  href: string
4
4
  } {
@@ -4,6 +4,8 @@ import { vercelStegaSplit } from '@vercel/stega'
4
4
  * Takes in a Vercel Visual Editing string and returns the string without
5
5
  * hidden data.
6
6
  */
7
- export function v<T extends string>(s: T): T {
8
- return vercelStegaSplit(s).cleaned as T
7
+ export function v<VercelVEString extends string>(
8
+ s: VercelVEString
9
+ ): VercelVEString {
10
+ return vercelStegaSplit(s).cleaned as VercelVEString
9
11
  }