@rpg-engine/long-bow 0.5.92 → 0.5.93

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.
@@ -15462,7 +15462,7 @@ var DynamicText = function DynamicText(_ref) {
15462
15462
  onFinish();
15463
15463
  }
15464
15464
  }
15465
- }, 50);
15465
+ }, 25);
15466
15466
  return function () {
15467
15467
  clearInterval(interval);
15468
15468
  };
@@ -15767,7 +15767,9 @@ var NPCDialog = function NPCDialog(_ref) {
15767
15767
  }
15768
15768
  })), type === NPCDialogType.TextAndThumbnail && React.createElement(ThumbnailContainer, null, React.createElement(NPCThumbnail, {
15769
15769
  src: imagePath || img$7
15770
- }))) : React.createElement(React.Fragment, null, React.createElement(Container$i, null, React.createElement(TextContainer$1, {
15770
+ }))) : React.createElement(React.Fragment, null, React.createElement(Container$i, null, React.createElement(CloseIcon, {
15771
+ onPointerDown: _onClose
15772
+ }, "X"), React.createElement(TextContainer$1, {
15771
15773
  flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
15772
15774
  }, React.createElement(NPCDialogText, {
15773
15775
  type: type,
@@ -15785,20 +15787,24 @@ var Container$i = /*#__PURE__*/styled.div.withConfig({
15785
15787
  displayName: "NPCDialog__Container",
15786
15788
  componentId: "sc-1b4aw74-0"
15787
15789
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
15790
+ var CloseIcon = /*#__PURE__*/styled.p.withConfig({
15791
+ displayName: "NPCDialog__CloseIcon",
15792
+ componentId: "sc-1b4aw74-1"
15793
+ })(["position:absolute;top:-1.5rem;right:-0.4rem;cursor:pointer;color:white;font-size:1.1rem !important;"]);
15788
15794
  var TextContainer$1 = /*#__PURE__*/styled.div.withConfig({
15789
15795
  displayName: "NPCDialog__TextContainer",
15790
- componentId: "sc-1b4aw74-1"
15796
+ componentId: "sc-1b4aw74-2"
15791
15797
  })(["flex:", " 0 0;width:355px;"], function (_ref2) {
15792
15798
  var flex = _ref2.flex;
15793
15799
  return flex;
15794
15800
  });
15795
15801
  var ThumbnailContainer = /*#__PURE__*/styled.div.withConfig({
15796
15802
  displayName: "NPCDialog__ThumbnailContainer",
15797
- componentId: "sc-1b4aw74-2"
15803
+ componentId: "sc-1b4aw74-3"
15798
15804
  })(["flex:30% 0 0;display:flex;justify-content:flex-end;"]);
15799
15805
  var NPCThumbnail = /*#__PURE__*/styled.img.withConfig({
15800
15806
  displayName: "NPCDialog__NPCThumbnail",
15801
- componentId: "sc-1b4aw74-3"
15807
+ componentId: "sc-1b4aw74-4"
15802
15808
  })(["image-rendering:pixelated;height:128px;width:128px;"]);
15803
15809
 
15804
15810
  var ImgSide;