@rpg-engine/long-bow 0.3.49 → 0.3.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/dist/long-bow.cjs.development.js +13 -6
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +13 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SkillsContainer.tsx +45 -36
|
@@ -35557,11 +35557,14 @@ var SkillsContainer = function SkillsContainer(_ref) {
|
|
|
35557
35557
|
return output;
|
|
35558
35558
|
};
|
|
35559
35559
|
return React__default.createElement(SkillsDraggableContainer, {
|
|
35560
|
-
title: "Skills"
|
|
35560
|
+
title: "Skills",
|
|
35561
|
+
cancelDrag: "#skillsDiv"
|
|
35561
35562
|
}, onCloseButton && React__default.createElement(CloseButton$3, {
|
|
35562
35563
|
onClick: onCloseButton,
|
|
35563
35564
|
onTouchStart: onCloseButton
|
|
35564
|
-
}, "X"), React__default.createElement(
|
|
35565
|
+
}, "X"), React__default.createElement(SkillsContainerDiv, {
|
|
35566
|
+
id: "skillsDiv"
|
|
35567
|
+
}, React__default.createElement(SkillSplitDiv, null, React__default.createElement("p", null, "General"), React__default.createElement("hr", {
|
|
35565
35568
|
className: "golden"
|
|
35566
35569
|
}), React__default.createElement(SkillProgressBar, {
|
|
35567
35570
|
skillName: 'Level',
|
|
@@ -35578,19 +35581,23 @@ var SkillsContainer = function SkillsContainer(_ref) {
|
|
|
35578
35581
|
className: "golden"
|
|
35579
35582
|
})), onRenderSkillCategory('crafting'), React__default.createElement(SkillSplitDiv, null, React__default.createElement("p", null, "Basic Attributes"), React__default.createElement("hr", {
|
|
35580
35583
|
className: "golden"
|
|
35581
|
-
})), onRenderSkillCategory('attributes'));
|
|
35584
|
+
})), onRenderSkillCategory('attributes')));
|
|
35582
35585
|
};
|
|
35583
35586
|
var SkillsDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
|
|
35584
35587
|
displayName: "SkillsContainer__SkillsDraggableContainer",
|
|
35585
35588
|
componentId: "sc-1g0c67q-0"
|
|
35586
|
-
})(["border:1px solid black;width:400px;height:90
|
|
35589
|
+
})(["border:1px solid black;width:400px;height:90%;.DraggableContainer__TitleContainer-sc-184mpyl-2{width:auto;height:auto;}"]);
|
|
35590
|
+
var SkillsContainerDiv = /*#__PURE__*/styled.div.withConfig({
|
|
35591
|
+
displayName: "SkillsContainer__SkillsContainerDiv",
|
|
35592
|
+
componentId: "sc-1g0c67q-1"
|
|
35593
|
+
})(["width:100%;-webkit-overflow-y:scroll;overflow-y:scroll;height:90%;padding-right:10px;"]);
|
|
35587
35594
|
var SkillSplitDiv = /*#__PURE__*/styled.div.withConfig({
|
|
35588
35595
|
displayName: "SkillsContainer__SkillSplitDiv",
|
|
35589
|
-
componentId: "sc-1g0c67q-
|
|
35596
|
+
componentId: "sc-1g0c67q-2"
|
|
35590
35597
|
})(["width:100%;font-size:11px;hr{margin:0;margin-bottom:1rem;padding:0px;}p{margin-bottom:0px;}"]);
|
|
35591
35598
|
var CloseButton$3 = /*#__PURE__*/styled.div.withConfig({
|
|
35592
35599
|
displayName: "SkillsContainer__CloseButton",
|
|
35593
|
-
componentId: "sc-1g0c67q-
|
|
35600
|
+
componentId: "sc-1g0c67q-3"
|
|
35594
35601
|
})(["position:absolute;top:2px;right:2px;color:white;z-index:22;font-size:1.1rem;"]);
|
|
35595
35602
|
|
|
35596
35603
|
var Spell = function Spell(_ref) {
|