@rpg-engine/long-bow 0.7.96 → 0.7.97

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.
@@ -28618,14 +28618,14 @@ var TooltipContainer = /*#__PURE__*/styled.div.withConfig({
28618
28618
  var MinCraftingRequirementsText = /*#__PURE__*/styled.div.withConfig({
28619
28619
  displayName: "CraftingTooltip__MinCraftingRequirementsText",
28620
28620
  componentId: "sc-iqzgok-1"
28621
- })(["font-size:0.55rem;margin:0;margin-bottom:12px;color:", " !important;"], function (_ref) {
28621
+ })(["font-size:0.55rem;margin:0;margin-bottom:12px;margin-left:0.5rem;color:", " !important;"], function (_ref) {
28622
28622
  var levelIsOk = _ref.levelIsOk;
28623
28623
  return levelIsOk ? uiColors.lightGreen : uiColors.lightGray;
28624
28624
  });
28625
- var IngredientsTitle = /*#__PURE__*/styled.div.withConfig({
28626
- displayName: "CraftingTooltip__IngredientsTitle",
28625
+ var TooltipTitle = /*#__PURE__*/styled.div.withConfig({
28626
+ displayName: "CraftingTooltip__TooltipTitle",
28627
28627
  componentId: "sc-iqzgok-2"
28628
- })(["color:", ";font-size:0.6rem;margin-bottom:12px;text-transform:uppercase;letter-spacing:0.5px;"], uiColors.yellow);
28628
+ })(["color:", ";font-size:0.6rem;margin-bottom:12px;letter-spacing:0.5px;"], uiColors.yellow);
28629
28629
  var Recipe = /*#__PURE__*/styled.div.withConfig({
28630
28630
  displayName: "CraftingTooltip__Recipe",
28631
28631
  componentId: "sc-iqzgok-3"
@@ -28651,9 +28651,9 @@ var CraftingTooltip = function CraftingTooltip(_ref3) {
28651
28651
  return React.createElement(TooltipContainer, {
28652
28652
  x: x,
28653
28653
  y: y
28654
- }, React.createElement(MinCraftingRequirementsText, {
28654
+ }, React.createElement(TooltipTitle, null, "Skill Requirements"), React.createElement(MinCraftingRequirementsText, {
28655
28655
  levelIsOk: levelIsOk
28656
- }, modifyString("" + ((_recipe$minCraftingRe3 = recipe == null ? void 0 : (_recipe$minCraftingRe4 = recipe.minCraftingRequirements) == null ? void 0 : _recipe$minCraftingRe4[0]) != null ? _recipe$minCraftingRe3 : '')), " lvl", ' ', (_recipe$minCraftingRe5 = recipe == null ? void 0 : (_recipe$minCraftingRe6 = recipe.minCraftingRequirements) == null ? void 0 : _recipe$minCraftingRe6[1]) != null ? _recipe$minCraftingRe5 : 0, " (", levelInSkill, ")"), React.createElement(IngredientsTitle, null, "Ingredients"), recipe.ingredients.map(function (ingredient, index) {
28656
+ }, modifyString("" + ((_recipe$minCraftingRe3 = recipe == null ? void 0 : (_recipe$minCraftingRe4 = recipe.minCraftingRequirements) == null ? void 0 : _recipe$minCraftingRe4[0]) != null ? _recipe$minCraftingRe3 : '')), " lvl", ' ', (_recipe$minCraftingRe5 = recipe == null ? void 0 : (_recipe$minCraftingRe6 = recipe.minCraftingRequirements) == null ? void 0 : _recipe$minCraftingRe6[1]) != null ? _recipe$minCraftingRe5 : 0, " (", levelInSkill, ")"), React.createElement(TooltipTitle, null, "Ingredients"), recipe.ingredients.map(function (ingredient, index) {
28657
28657
  var itemQtyInInventory = !inventory ? 0 : countItemFromInventory(ingredient.key, inventory);
28658
28658
  var isQuantityOk = ingredient.qty <= itemQtyInInventory;
28659
28659
  return React.createElement(Recipe, {
@@ -28684,7 +28684,7 @@ var MainContent = /*#__PURE__*/styled.div.withConfig({
28684
28684
  var ItemHeader = /*#__PURE__*/styled.div.withConfig({
28685
28685
  displayName: "CraftingRecipe__ItemHeader",
28686
28686
  componentId: "sc-1fe04wz-3"
28687
- })(["display:flex;align-items:center;gap:8px;margin-bottom:4px;label{font-size:0.9rem;font-weight:bold;display:flex;align-items:center;}"]);
28687
+ })(["display:flex;align-items:center;gap:8px;margin-bottom:4px;label{font-size:0.8rem;font-weight:bold;display:flex;align-items:center;padding-right:1rem;}"]);
28688
28688
  var CraftingRecipe = function CraftingRecipe(_ref) {
28689
28689
  var atlasIMG = _ref.atlasIMG,
28690
28690
  atlasJSON = _ref.atlasJSON,