@rpg-engine/long-bow 0.6.76 → 0.6.78

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.
@@ -26937,6 +26937,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
26937
26937
  _ref$width = _ref.width,
26938
26938
  width = _ref$width === void 0 ? '50%' : _ref$width,
26939
26939
  height = _ref.height,
26940
+ minHeight = _ref.minHeight,
26941
+ minWidth = _ref.minWidth,
26940
26942
  className = _ref.className,
26941
26943
  _ref$type = _ref.type,
26942
26944
  type = _ref$type === void 0 ? RPGUIContainerTypes.FramedGold : _ref$type,
@@ -27012,6 +27014,8 @@ var DraggableContainer = function DraggableContainer(_ref) {
27012
27014
  ref: draggableRef,
27013
27015
  width: width,
27014
27016
  height: height || 'auto',
27017
+ minWidth: minWidth,
27018
+ minHeight: minHeight,
27015
27019
  className: "rpgui-container " + type + " " + className,
27016
27020
  isFullScreen: isFullScreen,
27017
27021
  opacity: opacity
@@ -27028,16 +27032,22 @@ var DraggableContainer = function DraggableContainer(_ref) {
27028
27032
  var Container$7 = /*#__PURE__*/styled.div.withConfig({
27029
27033
  displayName: "DraggableContainer__Container",
27030
27034
  componentId: "sc-184mpyl-0"
27031
- })(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
27035
+ })(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
27032
27036
  return props.height;
27033
27037
  }, function (_ref2) {
27034
27038
  var width = _ref2.width;
27035
27039
  return width;
27036
27040
  }, function (_ref3) {
27037
- var opacity = _ref3.opacity;
27038
- return opacity && css(["opacity:", ";"], opacity);
27041
+ var minWidth = _ref3.minWidth;
27042
+ return minWidth || 'auto';
27039
27043
  }, function (_ref4) {
27040
- var isFullScreen = _ref4.isFullScreen;
27044
+ var minHeight = _ref4.minHeight;
27045
+ return minHeight || 'auto';
27046
+ }, function (_ref5) {
27047
+ var opacity = _ref5.opacity;
27048
+ return opacity && css(["opacity:", ";"], opacity);
27049
+ }, function (_ref6) {
27050
+ var isFullScreen = _ref6.isFullScreen;
27041
27051
  return isFullScreen && css(["justify-content:center;align-items:flex-start;align-content:flex-start;"]);
27042
27052
  });
27043
27053
  var CloseButton$2 = /*#__PURE__*/styled.div.withConfig({
@@ -27055,8 +27065,9 @@ var Title = /*#__PURE__*/styled.h1.withConfig({
27055
27065
  var Icon = /*#__PURE__*/styled.img.withConfig({
27056
27066
  displayName: "DraggableContainer__Icon",
27057
27067
  componentId: "sc-184mpyl-4"
27058
- })(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (props) {
27059
- return props.width;
27068
+ })(["color:white;z-index:22;font-size:", ";width:", ";margin-right:0.5rem;"], uiFonts.size.xsmall, function (_ref7) {
27069
+ var width = _ref7.width;
27070
+ return width;
27060
27071
  });
27061
27072
 
27062
27073
  var InputRadio = function InputRadio(_ref) {
@@ -31211,6 +31222,8 @@ var TabsContainer = function TabsContainer(_ref) {
31211
31222
  ,
31212
31223
  width: styles == null ? void 0 : styles.width,
31213
31224
  height: styles == null ? void 0 : styles.height,
31225
+ minWidth: styles == null ? void 0 : styles.minWidth,
31226
+ minHeight: styles == null ? void 0 : styles.minHeight,
31214
31227
  className: styles == null ? void 0 : styles.className,
31215
31228
  title: styles == null ? void 0 : styles.title,
31216
31229
  imgSrc: styles == null ? void 0 : styles.imgSrc,
@@ -31875,237 +31888,78 @@ var QuestInfo = function QuestInfo(_ref) {
31875
31888
  };
31876
31889
  var QuestDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
31877
31890
  displayName: "QuestInfo__QuestDraggableContainer",
31878
- componentId: "sc-15s2boc-0"
31891
+ componentId: "sc-1wccpiy-0"
31879
31892
  })(["border:1px solid black;width:600px;padding:0 0 0 0 !important;.DraggableContainer__TitleContainer-sc-184mpyl-2{height:auto;}.container-close{position:absolute;margin-left:auto;top:20px;padding-right:5px;}img{display:inline-block;vertical-align:middle;line-height:normal;}"]);
31880
31893
  var QuestContainer = /*#__PURE__*/styled.div.withConfig({
31881
31894
  displayName: "QuestInfo__QuestContainer",
31882
- componentId: "sc-15s2boc-1"
31895
+ componentId: "sc-1wccpiy-1"
31883
31896
  })(["margin-right:40px;margin-left:40px;"]);
31884
31897
  var QuestsContainer = /*#__PURE__*/styled.div.withConfig({
31885
31898
  displayName: "QuestInfo__QuestsContainer",
31886
- componentId: "sc-15s2boc-2"
31899
+ componentId: "sc-1wccpiy-2"
31887
31900
  })(["display:flex;align-items:center;"]);
31888
31901
  var Content = /*#__PURE__*/styled.div.withConfig({
31889
31902
  displayName: "QuestInfo__Content",
31890
- componentId: "sc-15s2boc-3"
31903
+ componentId: "sc-1wccpiy-3"
31891
31904
  })(["padding:18px;h1{text-align:left;margin:14px 0px;}"]);
31892
31905
  var QuestSplitDiv = /*#__PURE__*/styled.div.withConfig({
31893
31906
  displayName: "QuestInfo__QuestSplitDiv",
31894
- componentId: "sc-15s2boc-4"
31907
+ componentId: "sc-1wccpiy-4"
31895
31908
  })(["width:100%;font-size:11px;margin-bottom:10px;hr{margin:0px;padding:0px;}p{margin-bottom:0px;}"]);
31896
31909
  var QuestColumn = /*#__PURE__*/styled(Column).withConfig({
31897
31910
  displayName: "QuestInfo__QuestColumn",
31898
- componentId: "sc-15s2boc-5"
31911
+ componentId: "sc-1wccpiy-5"
31899
31912
  })(["padding-top:5px;margin-bottom:20px;display:flex;justify-content:space-evenly;"]);
31900
31913
  var TitleContainer$1 = /*#__PURE__*/styled.div.withConfig({
31901
31914
  displayName: "QuestInfo__TitleContainer",
31902
- componentId: "sc-15s2boc-6"
31915
+ componentId: "sc-1wccpiy-6"
31903
31916
  })(["width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin-top:1rem;"]);
31904
31917
  var Title$7 = /*#__PURE__*/styled.h1.withConfig({
31905
31918
  displayName: "QuestInfo__Title",
31906
- componentId: "sc-15s2boc-7"
31919
+ componentId: "sc-1wccpiy-7"
31907
31920
  })(["color:white;z-index:22;font-size:", " !important;color:", " !important;"], uiFonts.size.medium, uiColors.yellow);
31908
31921
  var Thumbnail = /*#__PURE__*/styled.img.withConfig({
31909
31922
  displayName: "QuestInfo__Thumbnail",
31910
- componentId: "sc-15s2boc-8"
31923
+ componentId: "sc-1wccpiy-8"
31911
31924
  })(["color:white;z-index:22;width:32px * 1.5;margin-right:0.5rem;position:relative;top:-4px;"]);
31912
31925
 
31913
- var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
31914
- var children = _ref.children;
31915
- return React.createElement(Container$r, null, children);
31916
- };
31917
- var Container$r = /*#__PURE__*/styled.div.withConfig({
31918
- displayName: "RPGUIScrollbar__Container",
31919
- componentId: "sc-p3msmb-0"
31920
- })([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
31921
-
31922
- var RPGUIOverrides = function RPGUIOverrides(_ref) {
31923
- var children = _ref.children;
31924
- return React.createElement(RPGUIScrollbar, null, children);
31925
- };
31926
-
31927
- //@ts-ignore
31928
- var _RPGUI = RPGUI;
31929
- var RPGUIRoot = function RPGUIRoot(_ref) {
31930
- var children = _ref.children;
31931
- return React.createElement(RPGUIOverrides, null, React.createElement("div", {
31932
- className: "rpgui-content"
31933
- }, children));
31934
- };
31935
-
31936
- var SimpleTooltip = function SimpleTooltip(_ref) {
31937
- var content = _ref.content,
31938
- _ref$direction = _ref.direction,
31939
- direction = _ref$direction === void 0 ? 'top' : _ref$direction,
31940
- _ref$backgroundColor = _ref.backgroundColor,
31941
- backgroundColor = _ref$backgroundColor === void 0 ? uiColors.raisinBlack : _ref$backgroundColor,
31942
- _ref$textColor = _ref.textColor,
31943
- textColor = _ref$textColor === void 0 ? uiColors.white : _ref$textColor,
31944
- children = _ref.children,
31945
- _ref$showDelay = _ref.showDelay,
31946
- showDelay = _ref$showDelay === void 0 ? 200 : _ref$showDelay,
31947
- _ref$hideDelay = _ref.hideDelay,
31948
- hideDelay = _ref$hideDelay === void 0 ? 200 : _ref$hideDelay;
31949
- var _useState = useState(false),
31950
- visible = _useState[0],
31951
- setVisible = _useState[1];
31952
- var _useState2 = useState({
31953
- top: 0,
31954
- left: 0
31955
- }),
31956
- tooltipPosition = _useState2[0],
31957
- setTooltipPosition = _useState2[1];
31958
- var tooltipRef = useRef(null);
31959
- var triggerRef = useRef(null);
31960
- var timeoutRef = useRef();
31961
- var calculatePosition = function calculatePosition() {
31962
- if (!triggerRef.current || !tooltipRef.current) return;
31963
- var triggerRect = triggerRef.current.getBoundingClientRect();
31964
- var tooltipRect = tooltipRef.current.getBoundingClientRect();
31965
- var top, left;
31966
- switch (direction) {
31967
- case 'top':
31968
- top = triggerRect.top - tooltipRect.height - 8;
31969
- left = triggerRect.left + (triggerRect.width - tooltipRect.width) / 2;
31970
- break;
31971
- case 'bottom':
31972
- top = triggerRect.bottom + 8;
31973
- left = triggerRect.left + (triggerRect.width - tooltipRect.width) / 2;
31974
- break;
31975
- case 'left':
31976
- top = triggerRect.top + (triggerRect.height - tooltipRect.height) / 2;
31977
- left = triggerRect.left - tooltipRect.width - 8;
31978
- break;
31979
- case 'right':
31980
- top = triggerRect.top + (triggerRect.height - tooltipRect.height) / 2;
31981
- left = triggerRect.right + 8;
31982
- break;
31983
- default:
31984
- top = triggerRect.top - tooltipRect.height - 8;
31985
- left = triggerRect.left + (triggerRect.width - tooltipRect.width) / 2;
31986
- }
31987
- // Ensure the tooltip stays within the viewport
31988
- if (left < 8) left = 8;
31989
- if (left + tooltipRect.width > window.innerWidth) left = window.innerWidth - tooltipRect.width - 8;
31990
- if (top < 8) top = 8;
31991
- if (top + tooltipRect.height > window.innerHeight) top = window.innerHeight - tooltipRect.height - 8;
31992
- setTooltipPosition({
31993
- top: Math.round(top),
31994
- left: Math.round(left)
31995
- });
31996
- };
31997
- var showTooltip = function showTooltip() {
31998
- clearTimeout(timeoutRef.current);
31999
- timeoutRef.current = setTimeout(function () {
32000
- setVisible(true);
32001
- calculatePosition();
32002
- }, showDelay);
32003
- };
32004
- var hideTooltip = function hideTooltip() {
32005
- clearTimeout(timeoutRef.current);
32006
- timeoutRef.current = setTimeout(function () {
32007
- setVisible(false);
32008
- }, hideDelay);
32009
- };
32010
- useEffect(function () {
32011
- var handleMouseMove = function handleMouseMove(event) {
32012
- if (visible && tooltipRef.current && triggerRef.current) {
32013
- var tooltipRect = tooltipRef.current.getBoundingClientRect();
32014
- var triggerRect = triggerRef.current.getBoundingClientRect();
32015
- var isOutsideTooltip = event.clientX < tooltipRect.left || event.clientX > tooltipRect.right || event.clientY < tooltipRect.top || event.clientY > tooltipRect.bottom;
32016
- var isOutsideTrigger = event.clientX < triggerRect.left || event.clientX > triggerRect.right || event.clientY < triggerRect.top || event.clientY > triggerRect.bottom;
32017
- if (isOutsideTooltip && isOutsideTrigger) {
32018
- hideTooltip();
32019
- }
32020
- }
32021
- };
32022
- var handleScroll = function handleScroll() {
32023
- if (visible) {
32024
- hideTooltip();
32025
- }
32026
- };
32027
- var handleResize = function handleResize() {
32028
- if (visible) {
32029
- calculatePosition();
32030
- }
32031
- };
32032
- document.addEventListener('mousemove', handleMouseMove);
32033
- window.addEventListener('scroll', handleScroll);
32034
- window.addEventListener('resize', handleResize);
32035
- return function () {
32036
- document.removeEventListener('mousemove', handleMouseMove);
32037
- window.removeEventListener('scroll', handleScroll);
32038
- window.removeEventListener('resize', handleResize);
32039
- clearTimeout(timeoutRef.current);
32040
- };
32041
- }, [visible]);
32042
- return React.createElement(TooltipContainer, {
32043
- ref: triggerRef,
32044
- onMouseEnter: showTooltip,
32045
- onMouseLeave: hideTooltip,
32046
- onFocus: showTooltip,
32047
- onBlur: hideTooltip
32048
- }, children, visible && ReactDOM.createPortal(React.createElement(RPGUIRoot, null, React.createElement(TooltipBox, {
32049
- ref: tooltipRef,
32050
- direction: direction,
32051
- backgroundColor: backgroundColor,
32052
- textColor: textColor,
32053
- style: {
32054
- top: tooltipPosition.top,
32055
- left: tooltipPosition.left
32056
- }
32057
- }, content)), document.body));
32058
- };
32059
- var TooltipContainer = /*#__PURE__*/styled.div.withConfig({
32060
- displayName: "SimpleTooltip__TooltipContainer",
32061
- componentId: "sc-l46vpo-0"
32062
- })(["display:inline-block;cursor:inherit;"]);
32063
- var fadeIn$1 = /*#__PURE__*/keyframes(["from{opacity:0;transform:scale(0.95);}to{opacity:1;transform:scale(1);}"]);
32064
- var TooltipBox = /*#__PURE__*/styled.div.withConfig({
32065
- displayName: "SimpleTooltip__TooltipBox",
32066
- componentId: "sc-l46vpo-1"
32067
- })(["position:fixed;z-index:1000;background-color:", ";color:", ";padding:8px;border-radius:4px;font-size:0.65rem;max-width:250px;box-shadow:0px 4px 8px rgba(0,0,0,0.1);animation:", " 0.2s ease-out;line-height:1.3;"], function (_ref2) {
32068
- var backgroundColor = _ref2.backgroundColor;
32069
- return backgroundColor;
32070
- }, function (_ref3) {
32071
- var textColor = _ref3.textColor;
32072
- return textColor;
32073
- }, fadeIn$1);
32074
-
32075
31926
  var QuestList = function QuestList(_ref) {
32076
31927
  var quests = _ref.quests;
32077
- return React.createElement(QuestListContainer, null, quests && quests.length > 0 ? React.createElement(React.Fragment, null, React.createElement(Table, null, React.createElement("thead", null, React.createElement(TableRow, null, React.createElement(TableHeader, null, "Status"), React.createElement(TableHeader, null, "Title"), React.createElement(TableHeader, null, "Description"), React.createElement(TableHeader, null, "Objectives"), React.createElement(TableHeader, null, "Rewards"))), React.createElement("tbody", null, quests.map(function (quest, i) {
32078
- var _quest$status;
32079
- return React.createElement(TableRow, {
31928
+ return React.createElement(QuestListContainer, null, quests && quests.length > 0 ? quests.map(function (quest, i) {
31929
+ var _formatStatus;
31930
+ return React.createElement(QuestCard, {
32080
31931
  key: i
32081
- }, React.createElement(TableCell, {
31932
+ }, React.createElement(QuestItem, null, React.createElement(Label, null, "Title:"), React.createElement(Value, null, formatText(quest.title))), React.createElement(QuestItem, null, React.createElement(Label, null, "Status:"), React.createElement(Value, {
32082
31933
  style: {
32083
31934
  color: getStatusColor(quest.status)
32084
31935
  }
32085
- }, (_quest$status = quest.status) != null ? _quest$status : 'Unknown'), React.createElement(TableCell, null, React.createElement(SimpleTooltip, {
32086
- content: formatText(quest.title),
32087
- direction: "bottom"
32088
- }, React.createElement(Ellipsis, {
32089
- maxWidth: "300px"
32090
- }, formatText(quest.title)))), React.createElement(TableCell, null, React.createElement(SimpleTooltip, {
32091
- content: quest.description,
32092
- direction: "bottom"
32093
- }, React.createElement(Ellipsis, {
32094
- maxWidth: "300px"
32095
- }, quest.description))), React.createElement(TableCell, null, React.createElement(SimpleTooltip, {
32096
- content: formatObjectives(quest.objectives),
32097
- direction: "bottom"
32098
- }, React.createElement(Ellipsis, {
32099
- maxWidth: "300px"
32100
- }, formatObjectives(quest.objectives)))), React.createElement(TableCell, null, React.createElement(SimpleTooltip, {
32101
- content: formatRewards(quest.rewards),
32102
- direction: "bottom"
32103
- }, React.createElement(Ellipsis, {
32104
- maxWidth: "200px"
32105
- }, formatRewards(quest.rewards)))));
32106
- })))) : React.createElement(NoQuestContainer, null, React.createElement("p", null, "There are no ongoing quests")));
31936
+ }, (_formatStatus = formatStatus(quest.status)) != null ? _formatStatus : 'Unknown')), React.createElement(QuestItem, null, React.createElement(Label, null, "Description:"), React.createElement(Value, null, quest.description)), React.createElement(QuestItem, null, React.createElement(Label, null, "Objectives:"), React.createElement(Value, null, formatObjectives(quest.objectives))), React.createElement(QuestItem, null, React.createElement(Label, null, "Rewards:"), React.createElement(Value, null, formatRewards(quest.rewards))));
31937
+ }) : React.createElement(NoQuestContainer, null, React.createElement("p", null, "There are no ongoing quests")));
32107
31938
  };
32108
- // Updated helper function to format objectives
31939
+ var QuestListContainer = /*#__PURE__*/styled.div.withConfig({
31940
+ displayName: "QuestList__QuestListContainer",
31941
+ componentId: "sc-1c1y8sp-0"
31942
+ })(["margin-top:20px;margin-bottom:40px;overflow-y:auto;max-height:400px;padding:10px;border-radius:10px;font-size:0.7rem;"]);
31943
+ var QuestCard = /*#__PURE__*/styled.div.withConfig({
31944
+ displayName: "QuestList__QuestCard",
31945
+ componentId: "sc-1c1y8sp-1"
31946
+ })(["background-color:", ";padding:15px;margin-bottom:10px;border-radius:10px;border:1px solid ", ";display:flex;flex-direction:column;"], uiColors.darkGray, uiColors.gray);
31947
+ var QuestItem = /*#__PURE__*/styled.div.withConfig({
31948
+ displayName: "QuestList__QuestItem",
31949
+ componentId: "sc-1c1y8sp-2"
31950
+ })(["display:flex;margin-bottom:5px;flex-wrap:wrap;&:last-child{margin-bottom:0;}"]);
31951
+ var Label = /*#__PURE__*/styled.span.withConfig({
31952
+ displayName: "QuestList__Label",
31953
+ componentId: "sc-1c1y8sp-3"
31954
+ })(["font-weight:bold;color:", " !important;margin-right:10px;"], uiColors.yellow);
31955
+ var Value = /*#__PURE__*/styled.span.withConfig({
31956
+ displayName: "QuestList__Value",
31957
+ componentId: "sc-1c1y8sp-4"
31958
+ })(["flex-grow:1;color:", ";word-wrap:break-word;"], uiColors.white);
31959
+ var NoQuestContainer = /*#__PURE__*/styled.div.withConfig({
31960
+ displayName: "QuestList__NoQuestContainer",
31961
+ componentId: "sc-1c1y8sp-5"
31962
+ })(["text-align:center;p{margin-top:5px;color:", ";}"], uiColors.lightGray);
32109
31963
  var formatObjectives = function formatObjectives(objectives) {
32110
31964
  try {
32111
31965
  if (!objectives || !Array.isArray(objectives)) return 'No objectives';
@@ -32127,7 +31981,6 @@ var formatObjectives = function formatObjectives(objectives) {
32127
31981
  return 'Error formatting objectives';
32128
31982
  }
32129
31983
  };
32130
- // Updated helper function to format rewards
32131
31984
  var formatRewards = function formatRewards(rewards) {
32132
31985
  try {
32133
31986
  if (!rewards || !Array.isArray(rewards)) return 'No rewards';
@@ -32149,6 +32002,7 @@ var formatRewards = function formatRewards(rewards) {
32149
32002
  }
32150
32003
  };
32151
32004
  var formatText = function formatText(text) {
32005
+ if (!text) return 'Unknown';
32152
32006
  return text.split('-').map(function (word) {
32153
32007
  return word.charAt(0).toUpperCase() + word.slice(1);
32154
32008
  }).join(' ');
@@ -32157,26 +32011,20 @@ var getStatusColor = function getStatusColor(status) {
32157
32011
  switch (status) {
32158
32012
  case QuestStatus.Pending:
32159
32013
  return uiColors.orange;
32160
- // Orange
32161
32014
  case QuestStatus.InProgress:
32162
32015
  return uiColors.blue;
32163
- // Deep Sky Blue
32164
32016
  case QuestStatus.Completed:
32165
32017
  return uiColors.lightGreen;
32166
- // Lime Green
32167
32018
  default:
32168
32019
  return uiColors.white;
32169
- // Default to white
32170
32020
  }
32171
32021
  };
32172
- var QuestListContainer = /*#__PURE__*/styled.div.withConfig({
32173
- displayName: "QuestList__QuestListContainer",
32174
- componentId: "sc-1a2vx6q-0"
32175
- })(["margin-top:20px;margin-bottom:40px;overflow-y:auto;max-height:400px;background-color:", ";padding:20px;border-radius:10px;border:1px solid ", ";font-size:0.7rem;"], uiColors.darkGray, uiColors.gray);
32176
- var NoQuestContainer = /*#__PURE__*/styled.div.withConfig({
32177
- displayName: "QuestList__NoQuestContainer",
32178
- componentId: "sc-1a2vx6q-1"
32179
- })(["text-align:center;p{margin-top:5px;color:", ";}"], uiColors.lightGray);
32022
+ var formatStatus = function formatStatus(status) {
32023
+ if (!status) return 'Unknown';
32024
+ return status.split(/(?=[A-Z])/).join(' ').replace(/^\w/, function (c) {
32025
+ return c.toUpperCase();
32026
+ });
32027
+ };
32180
32028
 
32181
32029
  var InputRadio$1 = function InputRadio(_ref) {
32182
32030
  var name = _ref.name,
@@ -32210,6 +32058,29 @@ var InputRadio$1 = function InputRadio(_ref) {
32210
32058
  }));
32211
32059
  };
32212
32060
 
32061
+ var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
32062
+ var children = _ref.children;
32063
+ return React.createElement(Container$r, null, children);
32064
+ };
32065
+ var Container$r = /*#__PURE__*/styled.div.withConfig({
32066
+ displayName: "RPGUIScrollbar__Container",
32067
+ componentId: "sc-p3msmb-0"
32068
+ })([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
32069
+
32070
+ var RPGUIOverrides = function RPGUIOverrides(_ref) {
32071
+ var children = _ref.children;
32072
+ return React.createElement(RPGUIScrollbar, null, children);
32073
+ };
32074
+
32075
+ //@ts-ignore
32076
+ var _RPGUI = RPGUI;
32077
+ var RPGUIRoot = function RPGUIRoot(_ref) {
32078
+ var children = _ref.children;
32079
+ return React.createElement(RPGUIOverrides, null, React.createElement("div", {
32080
+ className: "rpgui-content"
32081
+ }, children));
32082
+ };
32083
+
32213
32084
  var Shortcuts = function Shortcuts(_ref) {
32214
32085
  var shortcuts = _ref.shortcuts,
32215
32086
  onShortcutCast = _ref.onShortcutCast,