{
  "_id": "react-with-direction",
  "maintainers": [
    {
      "email": "opensource@airbnb.com",
      "name": "airbnbeng"
    },
    {
      "email": "brie.codes@gmail.com",
      "name": "brieb"
    },
    {
      "email": "tosharmila@gmail.com",
      "name": "sharmilajesupaul"
    },
    {
      "email": "vueringschristian@gmail.com",
      "name": "christianv"
    },
    {
      "email": "ljharb@gmail.com",
      "name": "ljharb"
    },
    {
      "email": "brucewpaul@gmail.com",
      "name": "brucewpaul"
    },
    {
      "email": "yzimet@gmail.com",
      "name": "yzimet"
    },
    {
      "email": "noratarano@gmail.com",
      "name": "noratarano"
    }
  ],
  "dist-tags": {
    "latest": "1.4.0"
  },
  "author": {
    "name": "Yaniv Zimet",
    "email": "yaniv.zimet@airbnb.com"
  },
  "_rev": "28-967a6bc2889188c862c990c6b2e9bb15",
  "description": "Components to provide and consume RTL or LTR direction in React",
  "readme": "# react-with-direction <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nComponents to support both right-to-left (RTL) and left-to-right (LTR) layouts in React.\n\nSupporting RTL or switching between different directions can be tricky. Most browsers have [built-in support](https://www.w3.org/International/questions/qa-html-dir) for displaying markup like paragraphs, lists, and tables. But what about interactive or complex custom UI components? In a right-to-left layout, a photo carousel should advance in the opposite direction, and the primary tab in a navigation control should the rightmost, for example.\n\nThis package provides components to simplify that effort.\n\n## withDirection\n\nUse `withDirection` when your component needs to change based on the layout direction. `withDirection` is an HOC that consumes the direction from React context and passes it as a `direction` prop to the wrapped component. The wrapped component can then pivot its logic to accommodate each direction.\n\nUsage example:\n\n```js\nimport withDirection, { withDirectionPropTypes, DIRECTIONS } from 'react-with-direction';\n\nfunction ForwardsLabel({ direction }) {\n  return (\n    <div>\n      Forwards\n      {direction === DIRECTIONS.LTR && <img src=\"arrow-right.png\" />}\n      {direction === DIRECTIONS.RTL && <img src=\"arrow-left.png\" />}\n    </div>\n  );\n}\nForwardsLabel.propTypes = {\n  ...withDirectionPropTypes,\n};\n\nexport default withDirection(ForwardsLabel);\n```\n\n## DirectionProvider\n\nUse `DirectionProvider` at the top of your app to set the direction context, which can then be consumed by components using `withDirection`.\n\nYou should set the `direction` prop based on the language of the content being rendered; for example, `DIRECTIONS.RTL` (right-to-left) for Arabic or Hebrew, or `DIRECTIONS.LTR` (left-to-right) for English or most other languages.\n\n`DirectionProvider` components can also be nested, so that the direction can be overridden for certain branches of the React tree.\n\n`DirectionProvider` will render its children inside of a `<div>` element with a `dir` attribute set to match the `direction` prop, for example: `<div dir=\"rtl\">`. This maintains consistency when being rendered in a browser. To render inside of a `<span>` instead of a div, set the `inline` prop to `true`.\n\nUsage example:\n\n```js\nimport DirectionProvider, { DIRECTIONS } from 'react-with-direction/dist/DirectionProvider';\n```\n\n```jsx\n<DirectionProvider direction={DIRECTIONS.RTL}>\n  <div>\n    <ForwardsLabel />\n  </div>\n</DirectionProvider>\n```\n\nTo set the `lang` attribute on the wrapping element, provide the `lang` prop to `DirectionProvider`.\n\nUsage example:\n\n```jsx\nimport DirectionProvider, { DIRECTIONS } from 'react-with-direction/dist/DirectionProvider';\n\n<DirectionProvider direction={DIRECTIONS.RTL} lang=\"ar\">\n  <div>\n    <ForwardsLabel />\n  </div>\n</DirectionProvider>\n```\n\nNote that `lang` and `direction` are independent – `lang` only sets the attribute on the wrapping element.\n\n## AutoDirectionProvider\n\nUse `AutoDirectionProvider` around, for example, user-generated content where the text direction is unknown or may change. This renders a `DirectionProvider` with the `direction` prop automatically set based on the `text` prop provided.\n\nDirection will be determined based on the first strong LTR/RTL character in the `text` string. Strings with no strong direction (e.g., numbers) will inherit the direction from its nearest `DirectionProvider` ancestor or default to LTR.\n\nUsage example:\n\n```js\nimport AutoDirectionProvider from 'react-with-direction/dist/AutoDirectionProvider';\n```\n\n```js\n<AutoDirectionProvider text={userGeneratedContent}>\n  <ExampleComponent>\n    {userGeneratedContent}\n  </ExampleComponent>\n</AutoDirectionProvider>\n```\n\n`AutoDirectionProvider` also supports the `lang` prop in the same way as `DirectionProvider` does.\n\n[package-url]: https://npmjs.org/package/react-with-direction\n[npm-version-svg]: http://versionbadg.es/airbnb/react-with-direction.svg\n[travis-svg]: https://travis-ci.org/airbnb/react-with-direction.svg\n[travis-url]: https://travis-ci.org/airbnb/react-with-direction\n[deps-svg]: https://david-dm.org/airbnb/react-with-direction.svg\n[deps-url]: https://david-dm.org/airbnb/react-with-direction\n[dev-deps-svg]: https://david-dm.org/airbnb/react-with-direction/dev-status.svg\n[dev-deps-url]: https://david-dm.org/airbnb/react-with-direction#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/react-with-direction.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/react-with-direction.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/react-with-direction.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=react-with-direction\n",
  "repository": {
    "url": "git+https://github.com/airbnb/react-with-direction.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/airbnb/react-with-direction/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "react-with-direction",
      "version": "1.0.0",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.0.0",
      "maintainers": [
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "0fb7463b607d1c9c58ee2a48e1770d5f50bdf177",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.0.0.tgz",
        "integrity": "sha512-OMQ9ZAebnXLOZaEIGf9t8PFZ3KArsY2EqqcacWgq5owhJslA+GHHX51nP0XfPGrD3rWWRxtXO7BAbLkMuWqKpg==",
        "signatures": [
          {
            "sig": "MEQCIEqJMjQs+wyB5k14Fc0i5fjoPGBsGvXmxgMuM/6gu40EAiBgmWqyTVgOS14sEuzcpgLtKpKsK2uowU+iTuuHJi4wuA==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/withDirection",
      "_from": ".",
      "_shasum": "0fb7463b607d1c9c58ee2a48e1770d5f50bdf177",
      "gitHead": "771459fa4d96fcef7dde74ea223dd136ad89b7e9",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "react:14": "npm run react:clean && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14 && npm prune",
        "react:15": "npm run react:clean && npm i --no-save react@15 react-dom@15 react-addons-test-utils@15 react-test-renderer@15 && npm prune",
        "test:only": "jest",
        "prepublish": "safe-publish-latest",
        "react:clean": "npm uninstall --no-save react react-dom react-addons-test-utils react-test-renderer && rimraf node_modules/react-test-renderer node_modules/react && npm prune"
      },
      "_npmUser": {
        "name": "yzimet",
        "email": "yzimet@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "3.9.5",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "6.2.2",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.0",
        "prop-types": "^15.5.10",
        "object.assign": "^4.0.4",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.8.0",
        "hoist-non-react-statics": "^2.2.2"
      },
      "devDependencies": {
        "chai": "^4.1.1",
        "jest": "^20.0.4",
        "react": "^0.14 || ^15.6",
        "sinon": "^2.4.1",
        "casual": "^1.5.14",
        "enzyme": "^2.9.1",
        "eslint": "^4.4.1",
        "rimraf": "^2.6.1",
        "webpack": "^3.5.1",
        "babel-cli": "^6.24.1",
        "react-dom": "^0.14 || ^15.6",
        "sinon-chai": "^2.12.0",
        "chai-enzyme": "^0.8.0",
        "sinon-sandbox": "^1.0.2",
        "babel-preset-airbnb": "^2.4.0",
        "eslint-plugin-react": "^7.1.0",
        "react-test-renderer": "^0.14 || ^15.6",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^15.1.0",
        "eslint-plugin-import": "^2.7.0",
        "eslint-plugin-jsx-a11y": "^5.1.1",
        "react-addons-test-utils": "^0.14 || ^15.6",
        "eslint-config-airbnb-base": "^11.3.1",
        "babel-plugin-transform-replace-object-assign": "^0.2.1"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15.6",
        "react-dom": "^0.14 || ^15.6"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction-1.0.0.tgz_1502235747787_0.8730251337401569",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.0.1": {
      "name": "react-with-direction",
      "version": "1.0.1",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.0.1",
      "maintainers": [
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "airbnb",
          "email": "jordan.harband+npm@airbnb.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "eff05a47a5adcc30864279563d43d6da4e007e5c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.0.1.tgz",
        "integrity": "sha512-jFOWVXGZosiIPaCZ+nVVqQGRSpG/rJitt9M/RWxER3UYlVosTb8lTMk1EJ8c7qhY0Cad40vxQd4bYUNiZt2doQ==",
        "signatures": [
          {
            "sig": "MEUCIA16Tzl3D0atubuA0Oxha/2J+jIx7ZyX/bKbDLU450UJAiEA3hpjg7ctLUguHTSZ4ZbhONB4j7hpH3PJLaDEzFX9amk=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/withDirection",
      "_from": ".",
      "_shasum": "eff05a47a5adcc30864279563d43d6da4e007e5c",
      "gitHead": "c236088212cc4bdc0012667157691917d429b392",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "react:14": "npm run react:clean && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14 && npm prune",
        "react:15": "npm run react:clean && npm i --no-save react@15 react-dom@15 react-addons-test-utils@15 react-test-renderer@15 && npm prune",
        "test:only": "jest",
        "prepublish": "safe-publish-latest",
        "react:15.4": "npm run react:clean && npm i --no-save react@15.4 react-dom@15.4 react-addons-test-utils@15.4 react-test-renderer@15.4 && npm prune",
        "react:clean": "npm uninstall --no-save react react-dom react-addons-test-utils react-test-renderer && rimraf node_modules/react-test-renderer node_modules/react && npm prune"
      },
      "_npmUser": {
        "name": "ljharb",
        "email": "ljharb@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "2.15.11",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "4.8.4",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.1",
        "prop-types": "^15.5.10",
        "object.assign": "^4.0.4",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.8.1",
        "hoist-non-react-statics": "^2.3.0"
      },
      "devDependencies": {
        "chai": "^4.1.1",
        "jest": "^20.0.4",
        "react": "^0.14 || ^15",
        "sinon": "^3.2.1",
        "casual": "^1.5.17",
        "enzyme": "^2.9.1",
        "eslint": "^4.5.0",
        "rimraf": "^2.6.1",
        "webpack": "^3.5.5",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15",
        "babel-jest": "^20.0.3",
        "sinon-chai": "^2.13.0",
        "chai-enzyme": "^0.8.0",
        "sinon-sandbox": "^1.0.2",
        "babel-preset-airbnb": "^2.4.0",
        "eslint-plugin-react": "^7.3.0",
        "react-test-renderer": "^0.14 || ^15",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^15.1.0",
        "eslint-plugin-import": "^2.7.0",
        "eslint-plugin-jsx-a11y": "^5.1.1",
        "react-addons-test-utils": "^0.14 || ^15",
        "babel-plugin-transform-replace-object-assign": "^0.2.1"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15",
        "react-dom": "^0.14 || ^15"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction-1.0.1.tgz_1503448482641_0.7558244997635484",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.1.0": {
      "name": "react-with-direction",
      "version": "1.1.0",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.1.0",
      "maintainers": [
        {
          "name": "brucewpaul",
          "email": "brucewpaul@gmail.com"
        },
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "airbnb",
          "email": "jordan.harband+npm@airbnb.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "1043d850db3d5c9970bca9e8d05dbea8c7e958c4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.1.0.tgz",
        "integrity": "sha512-I2dUaQhhxko9ZnzWeGHBjsAMJw+fF+c/ErefVnvLr8g5jRKbKHb65YW4c/MndP4k8+h2+ayVh3kaUHT+zVIcDg==",
        "signatures": [
          {
            "sig": "MEUCICoBiBxEvlM41VXJyjpkkkM/9hUvuIaIUwVW0Kg8tO8SAiEA5V045Gt10wUA6GzXgGxpUlHCRbZFowQrTyjVHNEwzYQ=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/withDirection",
      "gitHead": "e8e8962a47e29ebcf96fc61831bd13a231414a58",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "react:14": "npm run react:clean && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14 enzyme-adapter-react-14 && npm prune && npm i --no-save react-addons-test-utils@0.14 enzyme-adapter-react-14",
        "react:15": "npm run react:clean && npm i --no-save react@15 react-dom@15 react-test-renderer@15 react-addons-test-utils@15 enzyme-adapter-react-15 && npm prune && npm i --no-save react-addons-test-utils@15 enzyme-adapter-react-15",
        "react:16": "npm run react:clean && npm i --no-save react@16 react-dom@16 react-test-renderer@16 enzyme-adapter-react-16 && npm prune && npm i --no-save enzyme-adapter-react-16",
        "test:only": "jest",
        "prepublish": "safe-publish-latest",
        "react:15.4": "npm run react:clean && npm i --no-save react@15.4 react-dom@15.4 react-addons-test-utils@15.4 enzyme-adapter-react-15.4 react-test-renderer@15.4 && npm prune && npm i --no-save react-addons-test-utils@15.4 enzyme-adapter-react-15.4",
        "react:clean": "npm uninstall --no-save react react-dom react-test-renderer react-addons-test-utils enzyme-adapter-react-14 enzyme-adapter-react-15.4 enzyme-adapter-react-15 enzyme-adapter-react-16 && rimraf node_modules/react-test-renderer node_modules/react && npm prune"
      },
      "_npmUser": {
        "name": "ljharb",
        "email": "ljharb@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "5.5.1",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "8.7.0",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.1",
        "prop-types": "^15.6.0",
        "object.assign": "^4.0.4",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.8.1",
        "hoist-non-react-statics": "^2.3.1"
      },
      "devDependencies": {
        "chai": "^4.1.2",
        "jest": "^21.2.1",
        "react": "^0.14 || ^15 || ^16",
        "sinon": "^4.0.1",
        "casual": "^1.5.17",
        "enzyme": "^3.1.0",
        "eslint": "^4.9.0",
        "rimraf": "^2.6.2",
        "webpack": "^3.7.1",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15 || ^16",
        "babel-jest": "^21.2.0",
        "sinon-chai": "^2.14.0",
        "chai-enzyme": "^1.0.0-beta.0",
        "sinon-sandbox": "^1.0.2",
        "babel-preset-airbnb": "^2.4.0",
        "eslint-plugin-react": "^7.4.0",
        "react-test-renderer": "^0.14 || ^15 || ^16",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^16.1.0",
        "eslint-plugin-import": "^2.7.0",
        "eslint-plugin-jsx-a11y": "^6.0.2",
        "babel-plugin-transform-replace-object-assign": "^0.2.1"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15 || ^16",
        "react-dom": "^0.14 || ^15 || ^16"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction-1.1.0.tgz_1508197002060_0.1191022782586515",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.0": {
      "name": "react-with-direction",
      "version": "1.2.0",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.2.0",
      "maintainers": [
        {
          "name": "brucewpaul",
          "email": "brucewpaul@gmail.com"
        },
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "airbnb",
          "email": "jordan.harband+npm@airbnb.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "b1c1baf1c8e41913ba2d8b1fd22f29873667d12f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.2.0.tgz",
        "integrity": "sha512-lcN7rELxANIY6vYAxZB7+CoqH/aE4ZsuSVbEM+/6z3V4RLT55m38GCSMXxFQ1GBy2NcBOlWUllffid3cV6SMMA==",
        "signatures": [
          {
            "sig": "MEUCIQDHS/7upuE8o5skSRsNMwZVxXsx+Mlfl9gXPgIzaT6NCgIgEEHJDDx4zckYaj6KOYs8omgsStAnoNsN+9IrQMAjHqg=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/withDirection",
      "gitHead": "721653ec85a5eadb11b7968bbd2e2c10f177a5ed",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "react": "enzyme-adapter-react-install 16",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "test:only": "jest",
        "prepublish": "safe-publish-latest",
        "pretest:only": "npm run react"
      },
      "_npmUser": {
        "name": "yzimet",
        "email": "yzimet@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "5.5.1",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "8.9.1",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.1",
        "prop-types": "^15.6.0",
        "object.assign": "^4.0.4",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.8.1",
        "hoist-non-react-statics": "^2.3.1"
      },
      "devDependencies": {
        "chai": "^4.1.2",
        "jest": "^21.2.1",
        "react": "^0.14 || ^15 || ^16",
        "sinon": "^4.1.2",
        "casual": "^1.5.17",
        "enzyme": "^3.2.0",
        "eslint": "^4.11.0",
        "rimraf": "^2.6.2",
        "webpack": "^3.7.1",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15 || ^16",
        "babel-jest": "^21.2.0",
        "sinon-chai": "^2.14.0",
        "chai-enzyme": "^1.0.0-beta.0",
        "sinon-sandbox": "^1.0.2",
        "babel-preset-airbnb": "^2.4.0",
        "eslint-plugin-react": "^7.4.0",
        "react-test-renderer": "^0.14 || ^15 || ^16",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^16.1.0",
        "eslint-plugin-import": "^2.7.0",
        "eslint-plugin-jsx-a11y": "^6.0.2",
        "enzyme-adapter-react-helper": "^1.0.3",
        "babel-plugin-transform-replace-object-assign": "^0.2.1"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15 || ^16",
        "react-dom": "^0.14 || ^15 || ^16"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction-1.2.0.tgz_1516235402107_0.9664642713032663",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.3.0": {
      "name": "react-with-direction",
      "version": "1.3.0",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.3.0",
      "maintainers": [
        {
          "name": "brucewpaul",
          "email": "brucewpaul@gmail.com"
        },
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "airbnb",
          "email": "jordan.harband+npm@airbnb.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "9885f5941aa986be753db95a41e8f3d8f8de97ff",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.3.0.tgz",
        "integrity": "sha512-2TflEebNckTNUybw3Rzqjg4BwM/H380ZL5lsbZ5f4UTY2JyE5uQdQZK5T2w+BDJSAMcqoA2RDJYa4e7Cl6C2Kg==",
        "signatures": [
          {
            "sig": "MEUCIQC1Nw3x2BTbU/0Y0WukPsoQS+BcRbJsCnOnufluW9MM5gIge+n6XNs0P5Kp3PwTWyQt34tvifjHo6I2jZuKYZLwfAE=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/withDirection",
      "gitHead": "0b6625cb9979514bb0042ffc6487bc5203e69054",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "react": "enzyme-adapter-react-install 16",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "test:only": "jest",
        "prepublish": "safe-publish-latest && npm run build",
        "test:watch": "npm run test:only -- --watchAll",
        "pretest:only": "npm run react"
      },
      "_npmUser": {
        "name": "yzimet",
        "email": "yzimet@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "5.5.1",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "8.9.1",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.1",
        "direction": "^1.0.1",
        "prop-types": "^15.6.0",
        "object.assign": "^4.1.0",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.8.1",
        "hoist-non-react-statics": "^2.3.1"
      },
      "devDependencies": {
        "chai": "^4.1.2",
        "jest": "^21.2.1",
        "react": "^0.14 || ^15 || ^16",
        "sinon": "^4.1.6",
        "casual": "^1.5.19",
        "enzyme": "^3.3.0",
        "eslint": "^4.15.0",
        "rimraf": "^2.6.2",
        "webpack": "^3.10.0",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15 || ^16",
        "babel-jest": "^21.2.0",
        "sinon-chai": "^2.14.0",
        "chai-enzyme": "^1.0.0-beta.0",
        "sinon-sandbox": "^1.0.2",
        "babel-preset-airbnb": "^2.4.0",
        "eslint-plugin-react": "^7.5.1",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^16.1.0",
        "eslint-plugin-import": "^2.8.0",
        "eslint-plugin-jsx-a11y": "^6.0.3",
        "enzyme-adapter-react-helper": "^1.2.2",
        "babel-plugin-transform-replace-object-assign": "^0.2.1"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15 || ^16",
        "react-dom": "^0.14 || ^15 || ^16"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction-1.3.0.tgz_1517274006344_0.429226916981861",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.3.1": {
      "name": "react-with-direction",
      "version": "1.3.1",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.3.1",
      "maintainers": [
        {
          "name": "airbnb",
          "email": "jordan.harband+npm@airbnb.com"
        },
        {
          "name": "brucewpaul",
          "email": "brucewpaul@gmail.com"
        },
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "9fd414564f0ffe6947e5ff176f6132dd83f8b8df",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.3.1.tgz",
        "fileCount": 27,
        "integrity": "sha512-aGcM21ZzhqeXFvDCfPj0rVNYuaVXfTz5D3Rbn0QMz/unZe+CCiLHthrjQWO7s6qdfXORgYFtmS7OVsRgSk5LXQ==",
        "signatures": [
          {
            "sig": "MEUCIEjbEdSYnRu5EAYTAWpdEtYiaEanqCooTSRLglcv5oGtAiEAlaGof7IQNv0NdStm5RC5i98VkE/QYK+CrPG+MP4wLtc=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 38725,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaXzUCRA9TVsSAnZWagAANXsP/jvSS2LjqHdfXvH3m7iY\n3z2grKY0C8vX6DYOV6lcKIgCGIJiJMXl3D20MgnNgB/kaMm5bApnjLH+1+13\nVS08El9z+QF6LEst8QvQQXqhlgbTRJ3/0u6ByzeBgsaDV03CVrwVGiDyIOaH\nFcGhwDQtvSbP2iuNN9yVQZfkVi+7cPT5F7rDzFTYAmGzEi2zIyuoNjgdSL+d\neIE+dB4eStjuVrSm7qfvCPKTKWtDVDse8UJbnFMQADijrjq9oAJ7RSLnrz0K\nHxpBUfrfwLTj1yyG8/rqT7RerDVXdQQ6kQB8E5CgYMJKMIRWOryM0F6xm1M9\n8u67RZZ0bj30XKqMG8vajnGWqqKFSQK/T0UhAHYntbZx2X2rqxI3bJDINqpE\nzSXxRILhL30ik/hj6fH3pxiEc/gxoH0ioKt2Hf4n6j+Zk4oeTIUDUwkpFFX6\nxz3Xvylbw112DW4PNxkXbeewyovS7ZMW9uVaBKfDUFcVy45pg22vVR5ytrTD\nydF1l460R8884cne1Jsx83XQtlk7xTUJa79+N6kDfNpcyZLNoOd6Mh1ZU7zL\n10M/UuuYQfRubYE0zbH25t/jYUU5fY6fQG/wneBsrXOG9sAO/EOb+wAjUD6w\nytGJkALiN9Wg72G01sM3x4xBoEWjr/xWzj/4LPp7id/meqb+avd/0aSoPXHd\na5UP\r\n=afl8\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "dist/withDirection",
      "gitHead": "87923a3417bae5300b43108287e9ed573d7a0941",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "react": "enzyme-adapter-react-install 16",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "test:only": "jest",
        "prepublish": "safe-publish-latest && npm run build",
        "test:watch": "npm run test:only -- --watchAll",
        "pretest:only": "npm run react"
      },
      "_npmUser": {
        "name": "noratarano",
        "email": "noratarano@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "6.9.0",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "8.9.1",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.2",
        "direction": "^1.0.2",
        "prop-types": "^15.6.2",
        "object.assign": "^4.1.0",
        "object.values": "^1.0.4",
        "airbnb-prop-types": "^2.10.0",
        "hoist-non-react-statics": "^3.3.0"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "chai": "^4.1.2",
        "jest": "^21.2.1",
        "react": "^0.14 || ^15 || ^16",
        "sinon": "^4.5.0",
        "casual": "^1.5.19",
        "enzyme": "^3.3.0",
        "eslint": "^4.19.1",
        "rimraf": "^2.6.2",
        "webpack": "^3.10.0",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15 || ^16",
        "babel-jest": "^21.2.0",
        "sinon-chai": "^3.2.0",
        "chai-enzyme": "^1.0.0-beta.1",
        "sinon-sandbox": "^2.0.0",
        "babel-preset-airbnb": "^2.5.3",
        "eslint-plugin-react": "^7.10.0",
        "safe-publish-latest": "^1.1.1",
        "eslint-config-airbnb": "^17.0.0",
        "eslint-plugin-import": "^2.13.0",
        "eslint-plugin-jsx-a11y": "^6.1.1",
        "enzyme-adapter-react-helper": "^1.2.3",
        "babel-plugin-transform-replace-object-assign": "^1.0.0"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15 || ^16",
        "react-dom": "^0.14 || ^15 || ^16"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction_1.3.1_1567194323641_0.030064393829715597",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.4.0": {
      "name": "react-with-direction",
      "version": "1.4.0",
      "author": {
        "name": "Yaniv Zimet",
        "email": "yaniv.zimet@airbnb.com"
      },
      "license": "MIT",
      "_id": "react-with-direction@1.4.0",
      "maintainers": [
        {
          "name": "airbnbeng",
          "email": "opensource@airbnb.com"
        },
        {
          "name": "lencioni",
          "email": "joe.lencioni@gmail.com"
        },
        {
          "name": "etienne_tripier",
          "email": "etienne.tripier@airbnb.com"
        },
        {
          "name": "noratarano",
          "email": "noratarano@gmail.com"
        },
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        },
        {
          "name": "brucewpaul",
          "email": "brucewpaul@gmail.com"
        },
        {
          "name": "yzimet",
          "email": "yzimet@gmail.com"
        }
      ],
      "homepage": "https://github.com/airbnb/react-with-direction#readme",
      "bugs": {
        "url": "https://github.com/airbnb/react-with-direction/issues"
      },
      "dist": {
        "shasum": "ebdf64d685d0650ce966e872e6431ad5a2485444",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-with-direction/-/react-with-direction-1.4.0.tgz",
        "fileCount": 27,
        "integrity": "sha512-ybHNPiAmaJpoWwugwqry9Hd1Irl2hnNXlo/2SXQBwbLn/jGMauMS2y9jw+ydyX5V9ICryCqObNSthNt5R94xpg==",
        "signatures": [
          {
            "sig": "MEUCIQDzYyBQmTxo0Uk9A3UUGvWpjHWP/fNrHs+H5SAsHniQQQIgRbK/wcRDPzqxjjultELoQ7uwf024CylAGfnZf0HlqxI=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 41209,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25VhCRA9TVsSAnZWagAAyfwP/2G8K/RJm5efyi0fi6ZI\nsOB6oi6wRcrV2zdVt63oCgPY3sEvts6XfHbv6F3Rom33oBc8Kbn9sgOQbMj3\nuPSwqH50FwPvHEWVWEpkUZlXNnOqyHZYQR/lAM+svqviJlMNFT3wZgBoj43g\nsn4Hk8hoJZP4Jt1Z7kfPOvnqzBW0wPvrl9mVTs4GoqrxEgrAoHdTPNU5Z/z6\nWtkvcEERwGqKgvLijIvNrnNMrjp0AcTr1G4ZuWjn93jJWQyUdJ8fO4BU+tEf\nC2WRL2cULzoevRz9a543r+YRHjSUEMLPD9uOpSPXFISpoE/QzWB3gsWTxpyy\nogaXksMnoxfuhXSirCj+uzr5VXaG2J3sZdmWfdbyR8WgSXC9MmxG5i7hvSVO\n1CvOvLfz4TuIfCnBK3QKhvafOOcMSEPKh21EflRut0ONPwb2x41pl0pi+pCB\n1zoGIumIcCkfphxMAplKIoIK4E0wiTqvz8f89NFHwS92KQBpEgJ3/BRone4e\nS51VuadrC6A44rJm8RgakBuuQfXc62w7+moBTm2IecwpG9/dlHNfLubDLyD4\n6cqiW6gSTzmJCDQt/ZN6CgcdINF3qYhAefVG6Vqz7GaPiYly5zuhe8rGa5xl\nBpzlDqFZN/aRRQELND8PLjqURnFHxm64Zg1pRcSrTFtvH5iiUQGZXhuBRwql\ndNTT\r\n=+MUx\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "dist/withDirection",
      "gitHead": "d6a8523379df6b27a6271b96cf0224741c1e5620",
      "scripts": {
        "lint": "eslint .",
        "test": "npm run test:only",
        "build": "babel src --out-dir dist",
        "clean": "rimraf dist",
        "react": "enzyme-adapter-react-install 16",
        "pretest": "npm run lint",
        "prebuild": "npm run clean",
        "test:only": "jest",
        "prepublish": "safe-publish-latest && npm run build",
        "test:watch": "npm run test:only -- --watchAll",
        "pretest:only": "npm run react"
      },
      "_npmUser": {
        "name": "lencioni",
        "email": "joe.lencioni@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/airbnb/react-with-direction.git",
        "type": "git"
      },
      "_npmVersion": "6.14.4",
      "description": "Components to provide and consume RTL or LTR direction in React",
      "directories": {},
      "_nodeVersion": "12.16.2",
      "dependencies": {
        "brcast": "^2.0.2",
        "deepmerge": "^1.5.2",
        "direction": "^1.0.4",
        "prop-types": "^15.7.2",
        "object.assign": "^4.1.2",
        "object.values": "^1.1.5",
        "airbnb-prop-types": "^2.16.0",
        "hoist-non-react-statics": "^3.3.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "chai": "^4.3.4",
        "jest": "^21.2.1",
        "react": "^0.14 || ^15 || ^16",
        "sinon": "^4.5.0",
        "casual": "^1.6.2",
        "enzyme": "^3.11.0",
        "eslint": "^7.32.0",
        "rimraf": "^2.7.1",
        "cheerio": "=1.0.0-rc.3",
        "webpack": "^3.12.0",
        "babel-cli": "^6.26.0",
        "react-dom": "^0.14 || ^15 || ^16",
        "babel-jest": "^21.2.0",
        "sinon-chai": "^3.7.0",
        "chai-enzyme": "^1.0.0-beta.1",
        "sinon-sandbox": "^2.0.6",
        "babel-preset-airbnb": "^2.6.0",
        "eslint-plugin-react": "^7.26.1",
        "safe-publish-latest": "^1.1.4",
        "eslint-config-airbnb": "^18.2.1",
        "eslint-plugin-import": "^2.24.2",
        "eslint-plugin-jsx-a11y": "^6.4.1",
        "enzyme-adapter-react-helper": "^1.3.9",
        "babel-plugin-transform-replace-object-assign": "^1.0.0"
      },
      "peerDependencies": {
        "react": "^0.14 || ^15 || ^16",
        "react-dom": "^0.14 || ^15 || ^16"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/react-with-direction_1.4.0_1633981692403_0.3895608872545766",
        "host": "s3://npm-registry-packages"
      }
    }
  },
  "name": "react-with-direction",
  "time": {
    "created": "2017-08-08T23:42:28.730Z",
    "modified": "2026-05-25T08:37:07.391Z",
    "1.0.0": "2017-08-08T23:42:28.730Z",
    "1.0.1": "2017-08-23T00:34:43.796Z",
    "1.1.0": "2017-10-16T23:36:42.218Z",
    "1.2.0": "2018-01-18T00:30:02.294Z",
    "1.3.0": "2018-01-30T01:00:06.429Z",
    "1.3.1": "2019-08-30T19:45:23.775Z",
    "1.4.0": "2021-10-11T19:48:12.654Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/airbnb/react-with-direction#readme"
}