{
  "_id": "@rc-component/drawer",
  "maintainers": [
    {
      "name": "zombiej",
      "email": "smith3816@gmail.com"
    },
    {
      "name": "afc163",
      "email": "afc163@gmail.com"
    },
    {
      "name": "madccc",
      "email": "1075746765@qq.com"
    },
    {
      "name": "peachscript",
      "email": "scdzwyxst@gmail.com"
    },
    {
      "name": "chenshuai2144",
      "email": "wasd2144@hotmail.com"
    }
  ],
  "keywords": [
    "react",
    "react-component",
    "react-drawer",
    "drawer",
    "drawer-menu",
    "rc-drawer-menu",
    "react-drawer-menu",
    "animation",
    "drawer-motion",
    "drawer-animation"
  ],
  "dist-tags": {
    "latest": "1.4.2"
  },
  "author": {
    "name": "155259966@qq.com"
  },
  "_rev": "8-cf5e7eb31e634c7e7c87da7258586222",
  "description": "drawer component for react",
  "readme": "# @rc-component/drawer\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![codecov][codecov-image]][codecov-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/drawer.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/drawer\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n[dumi-url]: https://github.com/umijs/dumi\n[github-actions-image]: https://github.com/react-component/drawer/actions/workflows/react-component-ci.yml/badge.svg\n[github-actions-url]: https://github.com/react-component/drawer/actions/workflows/react-component-ci.yml\n[download-image]: https://img.shields.io/npm/dm/@rc-component/drawer.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/drawer\n[codecov-image]: https://codecov.io/gh/react-component/drawer/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/react-component/drawer\n\n\n## Example\n\nhttps://drawer-react-component.vercel.app/\n\n## Usage\n\n```js\nimport Drawer from '@rc-component/drawer';\nimport React from 'react';\nimport ReactDom from 'react-dom';\n\nReactDom.render(\n  <Drawer>\n    {menu children}\n  </Drawer>\n, mountNode);\n```\n\n## Install\n\n[![@rc-component/drawer](https://nodei.co/npm/@rc-component/drawer.png)](https://npmjs.org/package/@rc-component/drawer)\n\n## Browser Support\n\n| ![IE](https://github.com/alrra/browser-logos/blob/master/src/edge/edge_48x48.png?raw=true) | ![Chrome](https://github.com/alrra/browser-logos/blob/master/src/chrome/chrome_48x48.png?raw=true) | ![Firefox](https://github.com/alrra/browser-logos/blob/master/src/firefox/firefox_48x48.png?raw=true) | ![Opera](https://github.com/alrra/browser-logos/blob/master/src/opera/opera_48x48.png?raw=true) | ![Safari](https://github.com/alrra/browser-logos/blob/master/src/safari/safari_48x48.png?raw=true) |\n| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |\n| IE 10+ ✔                                                                                  | Chrome 31.0+ ✔                                                                                    | Firefox 31.0+ ✔                                                                                      | Opera 30.0+ ✔                                                                                  | Safari 7.0+ ✔                                                                                     |\n\n## API\n\n| props              | type                                                                        | default                                | description                                                                   |\n| ------------------ | --------------------------------------------------------------------------- | -------------------------------------- | ----------------------------------------------------------------------------- |\n| className          | string                                                                      | null                                   | -                                                                             |\n| classNames         | { mask?: string; content?: string; wrapper?: string; }                      | -                                      | pass className to target area                                                 |\n| styles             | { mask?: CSSProperties; content?: CSSProperties; wrapper?: CSSProperties; } | `rc-drawer`                            | pass style to target area                                                     |\n| prefixCls          | string                                                                      | 'drawer'                               | prefix class                                                                  |\n| width              | string \\| number                                                            | null                                   | drawer content wrapper width, drawer level transition width                   |\n| height             | string \\| number                                                            | null                                   | drawer content wrapper height, drawer level transition height                 |\n| defaultWidth       | string \\| number                                                            | null                                   | default width for uncontrolled resizable drawer                               |\n| defaultHeight      | string \\| number                                                            | null                                   | default height for uncontrolled resizable drawer                              |\n| open               | boolean                                                                     | false                                  | open or close menu                                                            |\n| defaultOpen        | boolean                                                                     | false                                  | default open menu                                                             |\n| placement          | string                                                                      | `left`                                 | `left` `top` `right` `bottom`                                                 |\n| level              | string \\| array                                                             | `all`                                  | With the drawer level element. `all`/ null / className / id / tagName / array |\n| levelMove          | number \\| array \\| func                                                     | null                                   | level move value. default is drawer width                                     |\n| duration           | string                                                                      | `.3s`                                  | level animation duration                                                      |\n| ease               | string                                                                      | `cubic-bezier(0.78, 0.14, 0.15, 0.86)` | level animation timing function                                               |\n| getContainer       | string \\| func \\| HTMLElement                                               | `body`                                 | Return the mount node for Drawer. if is `null` use React.creactElement        |\n| showMask           | boolean                                                                     | true                                   | mask is show                                                                  |\n| maskClosable       | boolean                                                                     | true                                   | Clicking on the mask (area outside the Drawer) to close the Drawer or not.    |\n| maskStyle          | CSSProperties                                                               | null                                   | mask style                                                                    |\n| afterOpenChange    | func                                                                        | null                                   | transition end callback(open)                                                 |\n| onClose            | func                                                                        | null                                   | close click function                                                          |\n| keyboard           | boolean                                                                     | true                                   | Whether support press esc to close                                            |\n| autoFocus          | boolean                                                                     | true                                   | Whether focusing on the drawer after it opened                                |\n| resizable          | { onResize?: (size: number) => void; onResizeStart?: () => void; onResizeEnd?: () => void; } | -                                      | Resizable configuration with optional callbacks                                |\n| onMouseEnter       | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse enter drawer panel                                         |\n| onMouseOver        | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse over drawer panel                                          |\n| onMouseLeave       | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse leave drawer panel                                         |\n| onClick            | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse click drawer panel                                         |\n| onKeyDown          | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse keydown on drawer panel                                    |\n| onKeyUp            | React.MouseEventHandler\\<HTMLDivElement\\>                                   | -                                      | Trigger when mouse keyup on drawer panel                                      |\n\n> 2.0 Rename `onMaskClick` -> `onClose`, add `maskClosable`.\n\n## Development\n\n```\nnpm install\nnpm start\n```\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/react-component/drawer.git"
  },
  "bugs": {
    "url": "https://github.com/react-component/drawer/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "@rc-component/drawer",
      "version": "1.0.0",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.0.0",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "afaa9f3b679dedb6e68ecbf1b15d902d8c04aa61",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.0.0.tgz",
        "fileCount": 32,
        "integrity": "sha512-sKtJn8K2SkedRF5Rkbv1MTn+BAE1hnSTOHH9xdqW6ostqN/YdU9rLkyJjIYKk2mnmBSbFgVYI3H7YeiueVvKrg==",
        "signatures": [
          {
            "sig": "MEUCICf0XFCv21zjVkn+bFnWx4+SV3eWwxH89Gmlsqhn2nD3AiEA7pI/crvoMgSe44qI/Pdoe9kwConytrR0kmd/f1fjWXw=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 53250
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "5b54804095683c38ea5a01de33223e5ee2d9fbb1",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "zombiej",
        "email": "smith3816@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.5.1",
      "dependencies": {
        "classnames": "^2.2.6",
        "@rc-component/util": "^1.2.1",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "lint-staged": "^15.2.2",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "@types/classnames": "^2.2.9",
        "eslint-plugin-jest": "^27.6.0",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^14.0.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^3.0.1"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.0.0_1740561363731_0.9749426025447894",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.1.0": {
      "name": "@rc-component/drawer",
      "version": "1.1.0",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.1.0",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "8c09b18bccd771c4ded7c7db5423c6d276ed728f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.1.0.tgz",
        "fileCount": 32,
        "integrity": "sha512-zO7FivYrW1FBfujixi/NESnMPiWpXUDB/jdf4MGXXanzHKNzCUde3qDQVsDsTCmITvLWFLhW1cP4NbsizLmwLQ==",
        "signatures": [
          {
            "sig": "MEQCIGxUmP98SzJzcFQkqELlnaQhYF/6JcbHQk7IYNJc5UUPAiBiJuLYMfTnjRXj+8E8sioVMkrU/vnwx7B7ce821bc/MA==",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 53212
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "283ead8aad52b93d4496345e773a19e097401c16",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "zombiej",
        "email": "smith3816@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.5.1",
      "dependencies": {
        "classnames": "^2.2.6",
        "@rc-component/util": "^1.2.1",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "@types/node": "^22.15.18",
        "lint-staged": "^15.2.2",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "@types/classnames": "^2.2.9",
        "eslint-plugin-jest": "^27.6.0",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^15.0.7",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^3.0.1"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.1.0_1747637229643_0.2187638144379216",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.2.0": {
      "name": "@rc-component/drawer",
      "version": "1.2.0",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.2.0",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "4e1b08beed21f02a8e31f47ea741ef14dcf5eff4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.2.0.tgz",
        "fileCount": 36,
        "integrity": "sha512-RZ8IoNUv/soNVMYIWdjelKXX/3LWhVrKUQAeoc966Y55cIGc+PQKni025xshsvTY/+ntq10wqlBw1WCi77MvYQ==",
        "signatures": [
          {
            "sig": "MEUCIQDqnZFFJi3lQ6O+bewgjMomhRvtLjKCGDmL4Ba7NmwL2gIgKZLu/oz83YKBYKxvmP+5qZfVSvhl2LZdS7qGwei9WhA=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 74302
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "d84d7ac34f98fde70e0e176259e225450499a594",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "zombiej",
        "email": "smith3816@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.15.1",
      "dependencies": {
        "classnames": "^2.2.6",
        "@rc-component/util": "^1.2.1",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "@types/node": "^24.3.0",
        "lint-staged": "^16.1.5",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "@types/classnames": "^2.2.9",
        "eslint-plugin-jest": "^27.6.0",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^16.3.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^3.0.1"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.2.0_1756884621473_0.563612540647817",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.3.0": {
      "name": "@rc-component/drawer",
      "version": "1.3.0",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.3.0",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "629e789f6199bbc2e2de467bc0dde59ed0817da2",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.3.0.tgz",
        "fileCount": 36,
        "integrity": "sha512-rE+sdXEmv2W25VBQ9daGbnb4J4hBIEKmdbj0b3xpY+K7TUmLXDIlSnoXraIbFZdGyek9WxxGKK887uRnFgI+pQ==",
        "signatures": [
          {
            "sig": "MEUCIQDDor1BBa/vnCykXOrzZMMadDOEV1FnKWc5oVTL7ZBtzAIgDDsD/Ze5GUYIQlVvSEq4bHic7T095IacAm91XOJFML0=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 74264
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "77b011bd143ec3d649e1bd457b8b2a332c191172",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "afc163",
        "email": "afc163@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "11.6.0",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.8.0",
      "dependencies": {
        "clsx": "^2.1.1",
        "@rc-component/util": "^1.2.1",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.0.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "@types/node": "^24.3.0",
        "lint-staged": "^16.1.5",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "eslint-plugin-jest": "^29.0.1",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^16.3.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^3.0.1"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.3.0_1764066512367_0.053641600945386614",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.4.0": {
      "name": "@rc-component/drawer",
      "version": "1.4.0",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.4.0",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "aad9002307899b3b2a31e7c2160c44f38421e026",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.4.0.tgz",
        "fileCount": 40,
        "integrity": "sha512-Zr1j1LRLDauz4a5JXHEmeYQfvEzfh4CddNa7tszyJnfd5GySYdZ5qLO63Tt2tgG4k+qi6tkFDKmcT46ikZfzbQ==",
        "signatures": [
          {
            "sig": "MEUCIQC2xZIfGNGgh/3CERMCSbK7PPDUaCj7zte1mYjRfITFhAIgSvZGFK5yjqVisPy7Rs3rH7s2/pqnF0hL5/W5NMSRCCM=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 73405
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "925f9f55dde91a84c762da9c13db5ce7ee1592e7",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "zombiej",
        "email": "smith3816@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "11.7.0",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.15.1",
      "dependencies": {
        "clsx": "^2.1.1",
        "@rc-component/util": "^1.2.1",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.1.3"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "@types/node": "^25.0.0",
        "lint-staged": "^16.1.5",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "eslint-plugin-jest": "^29.0.1",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^16.3.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^4.0.0"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.4.0_1767498459285_0.6366828999331617",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.4.1": {
      "name": "@rc-component/drawer",
      "version": "1.4.1",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "author": {
        "name": "155259966@qq.com"
      },
      "license": "MIT",
      "_id": "@rc-component/drawer@1.4.1",
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "dist": {
        "shasum": "df1173ce8e387fd558f73dcc18500f3c778a5ff7",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.4.1.tgz",
        "fileCount": 40,
        "integrity": "sha512-kNJQie/QjJO5wGeWrZQwSGeuo8staxXx1nYN+dpK2UY7i8teo5PQdZ6ukKSnnW9vmPXsLn3F5nKYRbf43e8+5g==",
        "signatures": [
          {
            "sig": "MEYCIQC6vP8H9HWmaQ8fsjomTfjw8oQTfT5lDETFfWdmxG1urwIhALDskt68BxG1dkXq7m5oVwvKvNp7CHeK53HqlLdBozur",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 73405
      },
      "main": "./lib/index",
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "bab18ccb72702f06aa5211bf9010f00de85b3a33",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "build": "dumi build",
        "start": "dumi dev",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "prepare": "husky",
        "prettier": "prettier --write .",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "afc163",
        "email": "afc163@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/react-component/drawer.git",
        "type": "git"
      },
      "_npmVersion": "11.6.0",
      "description": "drawer component for react",
      "directories": {},
      "lint-staged": {
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "_nodeVersion": "22.8.0",
      "dependencies": {
        "clsx": "^2.1.1",
        "@rc-component/util": "^1.7.0",
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.1.3"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "glob": "^10.3.10",
        "less": "^4.2.0",
        "husky": "^9.0.10",
        "react": "^19.0.0",
        "eslint": "^8.56.0",
        "father": "^4.0.0",
        "rc-test": "^7.0.9",
        "prettier": "^3.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^16.2.1",
        "@types/raf": "^3.4.0",
        "typescript": "^5.3.3",
        "@types/jest": "^29.5.11",
        "@types/node": "^25.0.0",
        "lint-staged": "^16.1.5",
        "@types/react": "^19.0.0",
        "@types/warning": "^3.0.0",
        "@rc-component/np": "^1.0.0",
        "@types/react-dom": "^19.0.0",
        "@ant-design/icons": "^5.3.0",
        "eslint-plugin-jest": "^29.0.1",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^16.3.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@rc-component/father-plugin": "^2.0.2",
        "stylelint-config-standard-less": "^4.0.0"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/drawer_1.4.1_1769492867921_0.8983502998086692",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.4.2": {
      "name": "@rc-component/drawer",
      "version": "1.4.2",
      "description": "drawer component for react",
      "keywords": [
        "react",
        "react-component",
        "react-drawer",
        "drawer",
        "drawer-menu",
        "rc-drawer-menu",
        "react-drawer-menu",
        "animation",
        "drawer-motion",
        "drawer-animation"
      ],
      "homepage": "https://github.com/react-component/drawer",
      "bugs": {
        "url": "https://github.com/react-component/drawer/issues"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/react-component/drawer.git"
      },
      "license": "MIT",
      "author": {
        "name": "155259966@qq.com"
      },
      "main": "./lib/index",
      "module": "./es/index",
      "scripts": {
        "build": "dumi build",
        "compile": "father build && lessc assets/index.less assets/index.css",
        "lint": "eslint src/ --ext .tsx,.ts",
        "now-build": "npm run build",
        "prepublishOnly": "npm run compile && rc-np",
        "start": "dumi dev",
        "test": "rc-test",
        "prettier": "prettier --write .",
        "prepare": "husky"
      },
      "dependencies": {
        "@rc-component/motion": "^1.1.4",
        "@rc-component/portal": "^2.1.3",
        "@rc-component/util": "^1.9.0",
        "clsx": "^2.1.1"
      },
      "devDependencies": {
        "@ant-design/icons": "^5.3.0",
        "@rc-component/father-plugin": "^2.0.2",
        "@rc-component/np": "^1.0.0",
        "@testing-library/jest-dom": "^6.2.0",
        "@testing-library/react": "^16.3.0",
        "@types/jest": "^29.5.11",
        "@types/node": "^25.0.0",
        "@types/raf": "^3.4.0",
        "@types/react": "^19.0.0",
        "@types/react-dom": "^19.0.0",
        "@types/warning": "^3.0.0",
        "antd": "^5.12.7",
        "dumi": "^2.2.0",
        "eslint": "^8.56.0",
        "eslint-plugin-jest": "^29.0.1",
        "eslint-plugin-unicorn": "^51.0.1",
        "father": "^4.0.0",
        "glob": "^10.3.10",
        "husky": "^9.0.10",
        "less": "^4.2.0",
        "lint-staged": "^16.1.5",
        "prettier": "^3.0.0",
        "rc-test": "^7.0.9",
        "react": "^19.0.0",
        "react-dom": "^19.0.0",
        "stylelint": "^17.1.0",
        "stylelint-config-standard-less": "^4.0.0",
        "typescript": "^5.3.3"
      },
      "peerDependencies": {
        "react": ">=18.0.0",
        "react-dom": ">=18.0.0"
      },
      "lint-staged": {
        "*.{js,jsx,ts,tsx}": "eslint --fix",
        "*.{css,less}": "stylelint --fix",
        "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
      },
      "gitHead": "759da9a3e7d6c5aba33a426b91ebe367c8f0d220",
      "types": "./lib/index.d.ts",
      "_id": "@rc-component/drawer@1.4.2",
      "_nodeVersion": "22.15.1",
      "_npmVersion": "11.7.0",
      "dist": {
        "integrity": "sha512-1ib+fZEp6FBu+YvcIktm+nCQ+Q+qIpwpoaJH6opGr4ofh2QMq+qdr5DLC4oCf5qf3pcWX9lUWPYX652k4ini8Q==",
        "shasum": "eb13a6556fb67be28407295c89401b01549224e0",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/drawer/-/drawer-1.4.2.tgz",
        "fileCount": 40,
        "unpackedSize": 73815,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIQDopRuyKOYZE9wnna5hgdKnuvJWQcXfadCihyTrBFiwcwIgDIOzW1pRvmCkfhDKiWJiWjMQ3Ydixpuu3+HAm4iXwkg="
          }
        ]
      },
      "_npmUser": {
        "name": "zombiej",
        "email": "smith3816@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "zombiej",
          "email": "smith3816@gmail.com"
        },
        {
          "name": "afc163",
          "email": "afc163@gmail.com"
        },
        {
          "name": "madccc",
          "email": "1075746765@qq.com"
        },
        {
          "name": "peachscript",
          "email": "scdzwyxst@gmail.com"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/drawer_1.4.2_1770367291104_0.7846560781602863"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@rc-component/drawer",
  "time": {
    "created": "2025-02-26T09:16:03.647Z",
    "modified": "2026-05-20T01:37:26.842Z",
    "1.0.0": "2025-02-26T09:16:03.944Z",
    "1.1.0": "2025-05-19T06:47:09.811Z",
    "1.2.0": "2025-09-03T07:30:21.640Z",
    "1.3.0": "2025-11-25T10:28:32.579Z",
    "1.4.0": "2026-01-04T03:47:39.459Z",
    "1.4.1": "2026-01-27T05:47:48.071Z",
    "1.4.2": "2026-02-06T08:41:31.298Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/react-component/drawer"
}