@rpg-engine/long-bow 0.2.49 → 0.2.50

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.2.49",
3
+ "version": "0.2.50",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -144,9 +144,5 @@ export const generateContextMenu = (
144
144
  }
145
145
  }
146
146
 
147
- if (item.hasUseWith) {
148
- contextActionMenu.push({ id: 'use-with', text: 'Use With...' });
149
- }
150
-
151
147
  return contextActionMenu;
152
148
  };
@@ -26,10 +26,6 @@ export const DayNightPeriod: React.FC<IPeriodOfDayDisplayProps> = ({
26
26
  );
27
27
  };
28
28
 
29
- const GifContainer = styled.div`
29
+ const GifContainer = styled.span`
30
30
  width: 100%;
31
-
32
- img {
33
- width: 67%;
34
- }
35
31
  `;
@@ -33,30 +33,31 @@ export const TimeWidget: React.FC<IClockWidgetProps> = ({
33
33
 
34
34
  const WidgetContainer = styled.div`
35
35
  background-image: url(${ClockWidgetImg});
36
- background-size: 10rem;
37
36
  background-repeat: no-repeat;
38
- width: 10rem;
37
+ width: 100%;
39
38
  position: absolute;
39
+ margin: 20px;
40
40
  `;
41
41
 
42
42
  const Time = styled.div`
43
- top: 0.75rem;
44
- right: 0.5rem;
45
- position: absolute;
46
- font-size: ${uiFonts.size.small};
43
+ width: 100%;
44
+ top: -6.95rem;
45
+ right: -4.4rem;
46
+ position: relative;
47
+ font-size: 7.5px;
47
48
  color: white;
48
49
  `;
49
50
 
50
51
  const CloseButton = styled.p`
51
- position: absolute;
52
- top: -0.5rem;
53
- margin: 0;
54
- right: -0.2rem;
55
- font-size: ${uiFonts.size.small} !important;
52
+ width: 100%;
53
+ position: relative;
54
+ top: -1rem;
55
+ right: -6.9rem;
56
+ font-size: ${uiFonts.size.xxsmall} !important;
56
57
  z-index: 1;
57
58
  `;
58
-
59
- const DayNightContainer = styled.div`
60
- margin-top: -0.3rem;
61
- margin-left: -0.3rem;
59
+ const DayNightContainer = styled.span`
60
+ top: -41px;
61
+ left: -3px;
62
+ position: relative;
62
63
  `;