@rpg-engine/long-bow 0.8.28 → 0.8.29
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 +8 -8
- 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 +8 -8
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/InformationCenter/sections/bestiary/InformationCenterNPCDetails.tsx +31 -7
- package/src/components/InformationCenter/shared/BaseInformationDetails.tsx +26 -14
- package/src/components/shared/Collapsible/Collapsible.tsx +1 -1
|
@@ -31136,7 +31136,7 @@ var Icon$1 = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31136
31136
|
var Content$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
31137
31137
|
displayName: "Collapsible__Content",
|
|
31138
31138
|
componentId: "sc-s4h8ey-4"
|
|
31139
|
-
})(["padding:
|
|
31139
|
+
})(["padding:6px;"]);
|
|
31140
31140
|
|
|
31141
31141
|
var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
31142
31142
|
var name = _ref.name,
|
|
@@ -31169,7 +31169,7 @@ var Overlay = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31169
31169
|
var Modal = /*#__PURE__*/styled__default.div.withConfig({
|
|
31170
31170
|
displayName: "BaseInformationDetails__Modal",
|
|
31171
31171
|
componentId: "sc-1vguuz8-2"
|
|
31172
|
-
})(["position:fixed;
|
|
31172
|
+
})(["position:fixed;background-color:rgba(0,0,0,0.95);border-radius:4px;padding:12px;overflow:hidden;z-index:1;font-family:'Press Start 2P',cursive;border:1px solid ", ";box-shadow:0 2px 4px rgba(0,0,0,0.2);width:90%;height:90%;top:5%;left:5%;max-width:800px;margin:0 auto;@media (max-width:768px){width:100%;height:100%;top:0;left:0;border-radius:0;padding:8px;}&::-webkit-scrollbar{width:2px;}&::-webkit-scrollbar-track{background:transparent;}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:4px;opacity:0.5;&:hover{opacity:1;}}scrollbar-width:thin;scrollbar-color:", " transparent;"], uiColors.darkGray, uiColors.yellow, uiColors.yellow);
|
|
31173
31173
|
var CloseButton$5 = /*#__PURE__*/styled__default.button.withConfig({
|
|
31174
31174
|
displayName: "BaseInformationDetails__CloseButton",
|
|
31175
31175
|
componentId: "sc-1vguuz8-3"
|
|
@@ -31181,7 +31181,7 @@ var Header$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31181
31181
|
var Content$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
31182
31182
|
displayName: "BaseInformationDetails__Content",
|
|
31183
31183
|
componentId: "sc-1vguuz8-5"
|
|
31184
|
-
})(["display:flex;flex-direction:column;gap:
|
|
31184
|
+
})(["display:flex;flex-direction:column;gap:12px;height:calc(100% - 80px);overflow-y:auto;overflow-x:hidden;padding-right:6px;margin-right:-6px;@media (max-width:768px){height:calc(100% - 64px);gap:8px;padding-right:4px;margin-right:-4px;}"]);
|
|
31185
31185
|
var Title$4 = /*#__PURE__*/styled__default.h2.withConfig({
|
|
31186
31186
|
displayName: "BaseInformationDetails__Title",
|
|
31187
31187
|
componentId: "sc-1vguuz8-6"
|
|
@@ -31693,7 +31693,7 @@ var Value$1 = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31693
31693
|
var StyledCollapsible$1 = /*#__PURE__*/styled__default(Collapsible).withConfig({
|
|
31694
31694
|
displayName: "InformationCenterNPCDetails__StyledCollapsible",
|
|
31695
31695
|
componentId: "sc-fdu3xl-4"
|
|
31696
|
-
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:
|
|
31696
|
+
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:visible;scrollbar-width:thin;scrollbar-color:", " transparent;width:100%;box-sizing:border-box;"], uiColors.darkGray);
|
|
31697
31697
|
var StatGrid$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
31698
31698
|
displayName: "InformationCenterNPCDetails__StatGrid",
|
|
31699
31699
|
componentId: "sc-fdu3xl-5"
|
|
@@ -31745,19 +31745,19 @@ var Separator = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31745
31745
|
var LootSearchContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
31746
31746
|
displayName: "InformationCenterNPCDetails__LootSearchContainer",
|
|
31747
31747
|
componentId: "sc-fdu3xl-17"
|
|
31748
|
-
})(["padding:
|
|
31748
|
+
})(["padding:8px;background:rgba(0,0,0,0.2);border-radius:4px;margin:8px 8px 4px;box-sizing:border-box;"]);
|
|
31749
31749
|
var StyledSearchBar$1 = /*#__PURE__*/styled__default(SearchBar).withConfig({
|
|
31750
31750
|
displayName: "InformationCenterNPCDetails__StyledSearchBar",
|
|
31751
31751
|
componentId: "sc-fdu3xl-18"
|
|
31752
|
-
})(["width:100%;"]);
|
|
31752
|
+
})(["width:100%;box-sizing:border-box;input{background:rgba(0,0,0,0.2) !important;border:1px solid rgba(255,255,255,0.1) !important;box-sizing:border-box;&:focus{border-color:", " !important;}}"], uiColors.yellow);
|
|
31753
31753
|
var LootGrid = /*#__PURE__*/styled__default.div.withConfig({
|
|
31754
31754
|
displayName: "InformationCenterNPCDetails__LootGrid",
|
|
31755
31755
|
componentId: "sc-fdu3xl-19"
|
|
31756
|
-
})(["display:grid;grid-template-columns:repeat(auto-
|
|
31756
|
+
})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:4px;padding:4px 8px;width:100%;max-width:100%;box-sizing:border-box;@media (max-width:768px){grid-template-columns:1fr;padding:4px;}"]);
|
|
31757
31757
|
var LootItem = /*#__PURE__*/styled__default.div.withConfig({
|
|
31758
31758
|
displayName: "InformationCenterNPCDetails__LootItem",
|
|
31759
31759
|
componentId: "sc-fdu3xl-20"
|
|
31760
|
-
})(["display:flex;align-items:center;gap:
|
|
31760
|
+
})(["display:flex;align-items:center;gap:4px;background:rgba(255,255,255,0.05);padding:4px;border-radius:4px;min-width:0;"]);
|
|
31761
31761
|
var LootDetails = /*#__PURE__*/styled__default.div.withConfig({
|
|
31762
31762
|
displayName: "InformationCenterNPCDetails__LootDetails",
|
|
31763
31763
|
componentId: "sc-fdu3xl-21"
|