@rpg-engine/long-bow 0.8.42 → 0.8.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.8.42",
3
+ "version": "0.8.44",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,4 +1,4 @@
1
- import { IItem, ItemQualityLevel } from '@rpg-engine/shared';
1
+ import { IItem } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  import styled from 'styled-components';
4
4
  import { uiColors } from '../../../constants/uiColors';
@@ -6,7 +6,6 @@ import { uiFonts } from '../../../constants/uiFonts';
6
6
  import { SpriteFromAtlas } from '../../shared/SpriteFromAtlas';
7
7
  import { ErrorBoundary } from '../Inventory/ErrorBoundary';
8
8
  import { EquipmentSlotSpriteByType } from '../Inventory/ItemSlot';
9
- import { qualityColorHex } from '../Inventory/ItemSlotQuality';
10
9
  import { rarityColor } from '../Inventory/ItemSlotRarity';
11
10
 
12
11
  interface IItemInfoProps {
@@ -197,20 +196,6 @@ const Container = styled.div<{ item: IItem }>`
197
196
  width: 18rem;
198
197
  position: relative;
199
198
 
200
- ${({ item }) =>
201
- item?.quality && item.quality !== ItemQualityLevel.Normal &&
202
- `
203
- &::before {
204
- content: '★';
205
- position: absolute;
206
- top: 0.2rem;
207
- left: 0.5rem;
208
- font-size: 1.2rem;
209
- color: ${qualityColorHex(item)};
210
- text-shadow: 0 0 3px black;
211
- }
212
- `}
213
-
214
199
  @media (max-width: 640px) {
215
200
  width: 80vw;
216
201
  }