@rpg-engine/long-bow 0.6.3 → 0.6.5

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.6.3",
3
+ "version": "0.6.5",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -51,13 +51,13 @@ const ItemQtyContainer = styled.div`
51
51
  position: relative;
52
52
  width: 85%;
53
53
  height: 16px;
54
- top: 26px;
55
- left: -2px;
54
+ top: 28px;
55
+ left: 0px;
56
56
  pointer-events: none;
57
57
  transform: scale(0.8);
58
58
  display: flex;
59
59
  align-items: center;
60
- justify-content: center;
60
+ justify-content: flex-start; /* Align gems to the left */
61
61
  opacity: 0.8;
62
62
  `;
63
63
 
@@ -65,8 +65,8 @@ const Gem = styled.div<{ color: string }>`
65
65
  width: 8px;
66
66
  height: 8px;
67
67
  background: ${({ color }) =>
68
- `radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 1), transparent 20%),
69
- linear-gradient(45deg, ${color}, ${color} 40%, rgba(255, 255, 255, 0.2))`};
68
+ `radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 30%),
69
+ linear-gradient(45deg, ${color}, ${color} 50%, rgba(255, 255, 255, 0.2))`};
70
70
  border: 1px solid black;
71
71
  transform: rotate(45deg);
72
72
  margin: 0 2px;
@@ -62,7 +62,7 @@ export const Stepper: React.FC<IStepperProps> = ({ steps, finalCTAButton }) => {
62
62
  {currentStep === totalSteps - 1 && finalCTAButton && (
63
63
  <Button
64
64
  buttonType={ButtonTypes.RPGUIButton}
65
- onPointerDown={() => finalCTAButton.onClick}
65
+ onPointerDown={finalCTAButton.onClick}
66
66
  >
67
67
  {finalCTAButton.label}
68
68
  </Button>
@@ -11,7 +11,7 @@ const meta: Meta = {
11
11
 
12
12
  export default meta;
13
13
 
14
- const Template: Story<ArrowBarProps> = args => (
14
+ const Template: Story<ArrowBarProps> = () => (
15
15
  <RPGUIRoot>
16
16
  <Stepper
17
17
  steps={[