{
  "_id": "@rc-component/overflow",
  "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-overflow",
    "overflow",
    "antd",
    "ant-design"
  ],
  "dist-tags": {
    "latest": "1.0.1"
  },
  "_rev": "2-dfc2aec242a6d08d0994ec63927b91c9",
  "description": "Auto collapse box when overflow",
  "readme": "# @rc-component/overflow 🐾\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[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/overflow.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/overflow\n[github-actions-image]: https://github.com/react-component/overflow/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/overflow/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/overflow/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/overflow/branch/master\n[david-url]: https://david-dm.org/react-component/overflow\n[david-image]: https://david-dm.org/react-component/overflow/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/overflow?type=dev\n[david-dev-image]: https://david-dm.org/react-component/overflow/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/@rc-component/overflow.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/overflow\n[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/overflow\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/overflow\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n\nAuto collapse box when overflow\n\n## Live Demo\n\nhttps://overflow-react-component.vercel.app/\n\n## Install\n\n[![@rc-component/overflow](https://nodei.co/npm/@rc-component/overflow.png)](https://npmjs.org/package/@rc-component/overflow)\n\n## Usage\n\n```ts\n// TODO\n```\n\n## API\n\n| Property | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## License\n\n@rc-component/overflow is released under the MIT license.\n",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/react-component/overflow.git"
  },
  "bugs": {
    "url": "http://github.com/react-component/overflow/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "@rc-component/overflow",
      "version": "1.0.0",
      "keywords": [
        "react",
        "react-component",
        "react-overflow",
        "overflow",
        "antd",
        "ant-design"
      ],
      "license": "MIT",
      "_id": "@rc-component/overflow@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"
        },
        {
          "name": "chenshuai2144",
          "email": "wasd2144@hotmail.com"
        }
      ],
      "homepage": "https://react-component.github.io/overflow",
      "bugs": {
        "url": "http://github.com/react-component/overflow/issues"
      },
      "cnpm": {
        "mode": "npm"
      },
      "dist": {
        "shasum": "ade1cc336c66b45eb1631fdfad59ef84c8f90a89",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/overflow/-/overflow-1.0.0.tgz",
        "fileCount": 32,
        "integrity": "sha512-GSlBeoE0XTBi5cf3zl8Qh7Uqhn7v8RrlJ8ajeVpEkNe94HWy5l5BQ0Mwn2TVUq9gdgbfEMUmTX7tJFAg7mz0Rw==",
        "signatures": [
          {
            "sig": "MEUCIQDSzlLlZG12BfW5T7C5d7DmIsrF6eszs12Swn/UE7gwMQIgGeKWpPoqwaHqkwO1yP2BiVA3YYaeTY89OXH60Jf5d6A=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 50817
      },
      "main": "./lib/index",
      "tnpm": {
        "mode": "npm"
      },
      "types": "./lib/index.d.ts",
      "module": "./es/index",
      "gitHead": "93cc1af9df0e73b21062ad6bb0078f501e8f5c4a",
      "scripts": {
        "lint": "eslint src/ --ext .tsx,.ts",
        "test": "rc-test",
        "start": "dumi dev",
        "deploy": "npm run docs:build && npm run docs:deploy",
        "compile": "father build",
        "prepare": "dumi setup",
        "lint:tsc": "tsc -p tsconfig.json --noEmit",
        "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
        "now-build": "npm run docs:build",
        "docs:build": "dumi build",
        "docs:deploy": "gh-pages -d docs-dist",
        "test:coverage": "rc-test --coverage",
        "prepublishOnly": "npm run compile && rc-np"
      },
      "_npmUser": {
        "name": "afc163",
        "email": "afc163@gmail.com"
      },
      "overrides": {
        "cheerio": "1.0.0-rc.12"
      },
      "repository": {
        "url": "git+ssh://git@github.com/react-component/overflow.git",
        "type": "git"
      },
      "_npmVersion": "11.6.0",
      "description": "Auto collapse box when overflow",
      "directories": {},
      "_nodeVersion": "22.8.0",
      "dependencies": {
        "clsx": "^2.1.1",
        "@babel/runtime": "^7.11.1",
        "@rc-component/util": "^1.4.0",
        "@rc-component/resize-observer": "^1.0.1"
      },
      "publishConfig": {
        "access": "public"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "np": "^7.0.0",
        "dumi": "^2.0.0",
        "glob": "^10.0.0",
        "less": "^3.10.3",
        "react": "^16.0.0",
        "enzyme": "^3.0.0",
        "eslint": "^8.57.0",
        "father": "^4.0.0",
        "rc-test": "^7.0",
        "prettier": "^2.0.5",
        "react-dom": "^16.0.0",
        "typescript": "~5.3.3",
        "@types/jest": "^26.0.23",
        "@types/node": "^24.8.1",
        "@types/react": "^16.14.2",
        "@types/enzyme": "^3.10.8",
        "@umijs/fabric": "^3.0.0",
        "enzyme-to-json": "^3.4.0",
        "@rc-component/np": "^1.0.4",
        "@types/react-dom": "^16.9.10",
        "eslint-plugin-jest": "^27.5.1",
        "regenerator-runtime": "^0.13.7",
        "eslint-plugin-unicorn": "^51.0.1",
        "@testing-library/react": "^12.0.0",
        "enzyme-adapter-react-16": "^1.0.1",
        "@testing-library/jest-dom": "^5.16.4",
        "@typescript-eslint/parser": "^5.59.0",
        "@rc-component/father-plugin": "^2.0.0",
        "@typescript-eslint/eslint-plugin": "^5.59.0"
      },
      "peerDependencies": {
        "react": ">=16.9.0",
        "react-dom": ">=16.9.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/overflow_1.0.0_1764819964443_0.8059934443026069",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.0.1": {
      "name": "@rc-component/overflow",
      "version": "1.0.1",
      "description": "Auto collapse box when overflow",
      "keywords": [
        "react",
        "react-component",
        "react-overflow",
        "overflow",
        "antd",
        "ant-design"
      ],
      "main": "./lib/index",
      "module": "./es/index",
      "homepage": "https://react-component.github.io/overflow",
      "repository": {
        "type": "git",
        "url": "git+ssh://git@github.com/react-component/overflow.git"
      },
      "bugs": {
        "url": "http://github.com/react-component/overflow/issues"
      },
      "license": "MIT",
      "scripts": {
        "start": "dumi dev",
        "docs:build": "dumi build",
        "docs:deploy": "gh-pages -d docs-dist",
        "compile": "father build",
        "prepare": "dumi setup",
        "deploy": "npm run docs:build && npm run docs:deploy",
        "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
        "test": "rc-test",
        "test:coverage": "rc-test --coverage",
        "prepublishOnly": "npm run compile && rc-np",
        "lint": "eslint src/ --ext .tsx,.ts",
        "lint:tsc": "tsc -p tsconfig.json --noEmit",
        "now-build": "npm run docs:build"
      },
      "dependencies": {
        "@babel/runtime": "^7.11.1",
        "@rc-component/resize-observer": "^1.0.1",
        "@rc-component/util": "^1.4.0",
        "clsx": "^2.1.1"
      },
      "devDependencies": {
        "@rc-component/father-plugin": "^2.0.0",
        "@rc-component/np": "^1.0.4",
        "@testing-library/jest-dom": "^5.16.4",
        "@testing-library/react": "^12.0.0",
        "@types/enzyme": "^3.10.8",
        "@types/jest": "^26.0.23",
        "@types/node": "^24.8.1",
        "@types/react": "^16.14.2",
        "@types/react-dom": "^16.9.10",
        "@typescript-eslint/eslint-plugin": "^5.59.0",
        "@typescript-eslint/parser": "^5.59.0",
        "@umijs/fabric": "^3.0.0",
        "dumi": "^2.0.0",
        "enzyme": "^3.0.0",
        "enzyme-adapter-react-16": "^1.0.1",
        "enzyme-to-json": "^3.4.0",
        "eslint": "^8.57.0",
        "eslint-plugin-jest": "^27.5.1",
        "eslint-plugin-unicorn": "^51.0.1",
        "father": "^4.0.0",
        "glob": "^10.0.0",
        "less": "^3.10.3",
        "np": "^7.0.0",
        "prettier": "^2.0.5",
        "rc-test": "^7.0",
        "react": "^16.0.0",
        "react-dom": "^16.0.0",
        "regenerator-runtime": "^0.13.7",
        "typescript": "~5.3.3"
      },
      "peerDependencies": {
        "react": ">=16.9.0",
        "react-dom": ">=16.9.0"
      },
      "overrides": {
        "cheerio": "1.0.0-rc.12"
      },
      "cnpm": {
        "mode": "npm"
      },
      "tnpm": {
        "mode": "npm"
      },
      "gitHead": "3636d9e68493d6937e050363e5e24d9d380d3acd",
      "types": "./lib/index.d.ts",
      "_id": "@rc-component/overflow@1.0.1",
      "_nodeVersion": "22.15.1",
      "_npmVersion": "11.7.0",
      "dist": {
        "integrity": "sha512-syfmgAABaHCnCDzPwHZ/2tuvIcpOO3jefYZMmfkN+pmo8HKTzsfhS57vxo4ksPdN0By+uWVJhJWNFozNBxi2eA==",
        "shasum": "b9f1100b1531555b1d6a6ba2963e116fd2f96779",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@rc-component/overflow/-/overflow-1.0.1.tgz",
        "fileCount": 32,
        "unpackedSize": 50792,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEYCIQDAzr+YtHNXVuxI8f0UKRmuu9KpsRmu5sJKSoP/9LJgzAIhAJB1kjN7Z9Yr5gDewn/cOrISR2/mnrx6rTJ7OrPADCt0"
          }
        ]
      },
      "_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/overflow_1.0.1_1776160123103_0.641014358303565"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@rc-component/overflow",
  "time": {
    "created": "2025-12-04T03:46:04.276Z",
    "modified": "2026-05-20T01:37:34.823Z",
    "1.0.0": "2025-12-04T03:46:04.566Z",
    "1.0.1": "2026-04-14T09:48:43.242Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://react-component.github.io/overflow"
}