@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -31131,7 +31131,7 @@ var Icon$1 = /*#__PURE__*/styled.span.withConfig({
|
|
|
31131
31131
|
var Content$1 = /*#__PURE__*/styled.div.withConfig({
|
|
31132
31132
|
displayName: "Collapsible__Content",
|
|
31133
31133
|
componentId: "sc-s4h8ey-4"
|
|
31134
|
-
})(["padding:
|
|
31134
|
+
})(["padding:6px;"]);
|
|
31135
31135
|
|
|
31136
31136
|
var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
31137
31137
|
var name = _ref.name,
|
|
@@ -31164,7 +31164,7 @@ var Overlay = /*#__PURE__*/styled.div.withConfig({
|
|
|
31164
31164
|
var Modal = /*#__PURE__*/styled.div.withConfig({
|
|
31165
31165
|
displayName: "BaseInformationDetails__Modal",
|
|
31166
31166
|
componentId: "sc-1vguuz8-2"
|
|
31167
|
-
})(["position:fixed;
|
|
31167
|
+
})(["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);
|
|
31168
31168
|
var CloseButton$5 = /*#__PURE__*/styled.button.withConfig({
|
|
31169
31169
|
displayName: "BaseInformationDetails__CloseButton",
|
|
31170
31170
|
componentId: "sc-1vguuz8-3"
|
|
@@ -31176,7 +31176,7 @@ var Header$2 = /*#__PURE__*/styled.div.withConfig({
|
|
|
31176
31176
|
var Content$2 = /*#__PURE__*/styled.div.withConfig({
|
|
31177
31177
|
displayName: "BaseInformationDetails__Content",
|
|
31178
31178
|
componentId: "sc-1vguuz8-5"
|
|
31179
|
-
})(["display:flex;flex-direction:column;gap:
|
|
31179
|
+
})(["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;}"]);
|
|
31180
31180
|
var Title$4 = /*#__PURE__*/styled.h2.withConfig({
|
|
31181
31181
|
displayName: "BaseInformationDetails__Title",
|
|
31182
31182
|
componentId: "sc-1vguuz8-6"
|
|
@@ -31688,7 +31688,7 @@ var Value$1 = /*#__PURE__*/styled.span.withConfig({
|
|
|
31688
31688
|
var StyledCollapsible$1 = /*#__PURE__*/styled(Collapsible).withConfig({
|
|
31689
31689
|
displayName: "InformationCenterNPCDetails__StyledCollapsible",
|
|
31690
31690
|
componentId: "sc-fdu3xl-4"
|
|
31691
|
-
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:
|
|
31691
|
+
})(["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);
|
|
31692
31692
|
var StatGrid$1 = /*#__PURE__*/styled.div.withConfig({
|
|
31693
31693
|
displayName: "InformationCenterNPCDetails__StatGrid",
|
|
31694
31694
|
componentId: "sc-fdu3xl-5"
|
|
@@ -31740,19 +31740,19 @@ var Separator = /*#__PURE__*/styled.span.withConfig({
|
|
|
31740
31740
|
var LootSearchContainer = /*#__PURE__*/styled.div.withConfig({
|
|
31741
31741
|
displayName: "InformationCenterNPCDetails__LootSearchContainer",
|
|
31742
31742
|
componentId: "sc-fdu3xl-17"
|
|
31743
|
-
})(["padding:
|
|
31743
|
+
})(["padding:8px;background:rgba(0,0,0,0.2);border-radius:4px;margin:8px 8px 4px;box-sizing:border-box;"]);
|
|
31744
31744
|
var StyledSearchBar$1 = /*#__PURE__*/styled(SearchBar).withConfig({
|
|
31745
31745
|
displayName: "InformationCenterNPCDetails__StyledSearchBar",
|
|
31746
31746
|
componentId: "sc-fdu3xl-18"
|
|
31747
|
-
})(["width:100%;"]);
|
|
31747
|
+
})(["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);
|
|
31748
31748
|
var LootGrid = /*#__PURE__*/styled.div.withConfig({
|
|
31749
31749
|
displayName: "InformationCenterNPCDetails__LootGrid",
|
|
31750
31750
|
componentId: "sc-fdu3xl-19"
|
|
31751
|
-
})(["display:grid;grid-template-columns:repeat(auto-
|
|
31751
|
+
})(["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;}"]);
|
|
31752
31752
|
var LootItem = /*#__PURE__*/styled.div.withConfig({
|
|
31753
31753
|
displayName: "InformationCenterNPCDetails__LootItem",
|
|
31754
31754
|
componentId: "sc-fdu3xl-20"
|
|
31755
|
-
})(["display:flex;align-items:center;gap:
|
|
31755
|
+
})(["display:flex;align-items:center;gap:4px;background:rgba(255,255,255,0.05);padding:4px;border-radius:4px;min-width:0;"]);
|
|
31756
31756
|
var LootDetails = /*#__PURE__*/styled.div.withConfig({
|
|
31757
31757
|
displayName: "InformationCenterNPCDetails__LootDetails",
|
|
31758
31758
|
componentId: "sc-fdu3xl-21"
|