@chakra-ui/modal

v1.8.9
An accessible dialog (modal) component for React & Chakra UI
react react component modal dialog modal dialog accessible modal aria modal a11y modal accessible modal and 5 more...

prebuild

rimraf dist

start

nodemon --watch src --exec yarn build -e ts,tsx

build

concurrently yarn:build:*

test

jest --env=jsdom --passWithNoTests

lint

concurrently yarn:lint:*

version

yarn build

build:esm

cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps

build:cjs

cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps

build:types

tsc --emitDeclarationOnly --declaration --declarationDir dist/types

test:cov

yarn test --coverage

lint:src

eslint src --ext .ts,.tsx --config ../../.eslintrc

lint:types

tsc --noEmit
npm i @chakra-ui/[email protected]

Metadata

  • MIT
  • Whatever
  • Segun Adebayo
  • released 7/8/2021

Downloads