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