@chakra-ui/skip-nav
Advanced tools
Comparing version 2.0.12 to 2.0.13
@@ -1,21 +0,2 @@ | ||
import * as _chakra_ui_system from '@chakra-ui/system'; | ||
import { HTMLChakraProps, ThemingProps } from '@chakra-ui/system'; | ||
interface SkipNavLinkProps extends HTMLChakraProps<"a">, ThemingProps<"SkipNavLink"> { | ||
} | ||
/** | ||
* Renders a link that remains hidden until focused to skip to the main content. | ||
* | ||
* @see Docs https://chakra-ui.com/docs/components/skip-nav | ||
*/ | ||
declare const SkipNavLink: _chakra_ui_system.ComponentWithAs<"a", SkipNavLinkProps>; | ||
interface SkipNavContentProps extends HTMLChakraProps<"div"> { | ||
} | ||
/** | ||
* Renders a div as the target for the `SkipNavLink`. | ||
* | ||
* @see Docs https://chakra-ui.com/docs/components/skip-nav | ||
*/ | ||
declare const SkipNavContent: _chakra_ui_system.ComponentWithAs<"div", SkipNavContentProps>; | ||
export { SkipNavContent, SkipNavContentProps, SkipNavLink, SkipNavLinkProps }; | ||
export { SkipNavContent, SkipNavContentProps, SkipNavLink, SkipNavLinkProps } from './skip-nav.js'; | ||
import '@chakra-ui/system'; |
{ | ||
"name": "@chakra-ui/skip-nav", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"description": "Skip navigation links for screen reader and keyboard users", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"main": "dist/index.cjs.js", | ||
"main": "dist/index.js", | ||
"files": [ | ||
@@ -37,5 +37,5 @@ "dist" | ||
"devDependencies": { | ||
"@chakra-ui/system": "2.3.2", | ||
"react": "^18.0.0", | ||
"clean-package": "2.1.1" | ||
"clean-package": "2.1.1", | ||
"@chakra-ui/system": "2.3.6" | ||
}, | ||
@@ -46,9 +46,18 @@ "peerDependencies": { | ||
}, | ||
"module": "dist/index.esm.js", | ||
"clean-package": "../../../clean-package.config.json", | ||
"tsup": { | ||
"clean": true, | ||
"target": "es2019", | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
}, | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.esm.js", | ||
"require": "./dist/index.cjs.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
@@ -58,8 +67,8 @@ "./package.json": "./package.json" | ||
"scripts": { | ||
"build": "JSX=1 tsup src/index.ts --dts", | ||
"build": "tsup src --dts", | ||
"dev": "pnpm build:fast -- --watch", | ||
"clean": "rimraf dist .turbo", | ||
"typecheck": "tsc --noEmit", | ||
"build:fast": "JSX=1 tsup src/index.ts" | ||
"build:fast": "tsup src" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10933
10
252
1