Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

poe-components-item

eps1lon4MIT0.4.1TypeScript support: included

Components for items in Path of Exile

readme

[WIP] Path of Exile Item React component librariy

Includes various components related to items in Path of Exile

Install

$ npm install poe-components-item
$ yarn add poe-components-item

Usage

see https://eps1lon.github.io/poe-react-item/

Features

Related work

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

0.4.1 (2018-06-23)

Fixed

  • ItemPopupIntl throwing with no formatter given..

0.4.0 (2018-06-23)

Added

  • extended prop for ApiPopup and ItemPopup which has the same shape as the official trade API and displays tiers and ranges for stats

Changed

  • Use consistent display of value ranges (i.e. use en-dash for ranges).

Fixed

  • Providing a name for the base item did not actually use this value as a fallback. It now correctly checks first for the id and tries i18n and then considers the name property.

0.3.0 (2018-06-16)

Added

  • PopupIntl and ApiPopupIntl for i18n support via react-intl. The original versions (Popup and ApiPopup) now have a messages prop which enables i18n support. The *Intl components take their messages from an IntlProvider component from react-intl in the component tree.

0.2.1 (2018-06-12)

Fixed

  • physical damage not showing
  • false negatives on type checker

0.2.0 (2018-06-12)

Added

  • Corrupted display

    Fixed

  • missing themes/ dir

    Changed

  • Popups can now have either a fixed width or compute their width which should result in the same width as items on the PoE website.