@rpg-engine/long-bow 0.8.196 → 0.8.197
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 +8 -17
- 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 +8 -17
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/SkillInfoModal.tsx +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rpg-engine/long-bow",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.197",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "tsdx build",
|
|
25
25
|
"test": "tsdx test --passWithNoTests",
|
|
26
26
|
"lint": "tsdx lint",
|
|
27
|
-
"prepare": "
|
|
27
|
+
"prepare": "tsdx build",
|
|
28
28
|
"size": "size-limit",
|
|
29
29
|
"analyze": "size-limit --why",
|
|
30
30
|
"storybook": "start-storybook -p 6006",
|
|
@@ -20,7 +20,6 @@ export const SkillInfoModal: React.FC<IProps> = ({ info, onClose }) => {
|
|
|
20
20
|
<ModalContainer>
|
|
21
21
|
<ModalContent onPointerDown={stopPropagation}>
|
|
22
22
|
<Header>
|
|
23
|
-
<ColorBar $color={info.color} />
|
|
24
23
|
<Title $color={info.color}>{info.name}</Title>
|
|
25
24
|
<CloseButton onPointerDown={onClose}>
|
|
26
25
|
<FaTimes />
|
|
@@ -93,14 +92,6 @@ const Header = styled.div`
|
|
|
93
92
|
gap: 8px;
|
|
94
93
|
`;
|
|
95
94
|
|
|
96
|
-
const ColorBar = styled.div<{ $color: string }>`
|
|
97
|
-
width: 3px;
|
|
98
|
-
height: 1rem;
|
|
99
|
-
background: ${({ $color }) => $color};
|
|
100
|
-
border-radius: 2px;
|
|
101
|
-
flex-shrink: 0;
|
|
102
|
-
`;
|
|
103
|
-
|
|
104
95
|
const Title = styled.h3<{ $color: string }>`
|
|
105
96
|
margin: 0;
|
|
106
97
|
flex: 1;
|