@rpg-engine/long-bow 0.8.41 → 0.8.43
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/dist/long-bow.cjs.development.js +7 -10
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +7 -10
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.tsx +2 -2
- package/src/components/Item/Cards/ItemInfo.tsx +1 -16
package/package.json
CHANGED
package/src/components/InformationCenter/sections/tutorials/InformationCenterTutorialsSection.tsx
CHANGED
|
@@ -19,8 +19,8 @@ interface ITutorialsSectionProps {
|
|
|
19
19
|
tabId: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
const ITEMS_PER_PAGE =
|
|
23
|
-
const GRID_COLUMNS =
|
|
22
|
+
const ITEMS_PER_PAGE = 4;
|
|
23
|
+
const GRID_COLUMNS = 4;
|
|
24
24
|
|
|
25
25
|
export const InformationCenterTutorialsSection: React.FC<ITutorialsSectionProps> = ({
|
|
26
26
|
videoGuides,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IItem
|
|
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
|
}
|