@rpg-engine/long-bow 0.8.23 → 0.8.24
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 -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 +8 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/InformationCenter/InformationCenter.tsx +27 -22
- package/src/components/InformationCenter/shared/BaseInformationDetails.tsx +6 -13
package/dist/long-bow.esm.js
CHANGED
|
@@ -31156,15 +31156,15 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31156
31156
|
var Container$p = /*#__PURE__*/styled.div.withConfig({
|
|
31157
31157
|
displayName: "BaseInformationDetails__Container",
|
|
31158
31158
|
componentId: "sc-1vguuz8-0"
|
|
31159
|
-
})(["position:
|
|
31159
|
+
})(["position:absolute;inset:0;display:flex;justify-content:center;align-items:center;z-index:1000;"]);
|
|
31160
31160
|
var Overlay = /*#__PURE__*/styled.div.withConfig({
|
|
31161
31161
|
displayName: "BaseInformationDetails__Overlay",
|
|
31162
31162
|
componentId: "sc-1vguuz8-1"
|
|
31163
|
-
})(["position:absolute;
|
|
31163
|
+
})(["position:absolute;inset:0;background-color:rgba(0,0,0,0.8);"]);
|
|
31164
31164
|
var Modal = /*#__PURE__*/styled.div.withConfig({
|
|
31165
31165
|
displayName: "BaseInformationDetails__Modal",
|
|
31166
31166
|
componentId: "sc-1vguuz8-2"
|
|
31167
|
-
})(["position:relative;width:90%;
|
|
31167
|
+
})(["position:relative;width:90%;height:90%;background-color:rgba(0,0,0,0.95);border-radius:4px;padding:16px;overflow-y:auto;z-index:1;font-family:'Press Start 2P',cursive;border:1px solid ", ";box-shadow:0 2px 4px rgba(0,0,0,0.2);&::-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:16px;"]);
|
|
31179
|
+
})(["display:flex;flex-direction:column;gap:16px;height:100%;overflow:auto;"]);
|
|
31180
31180
|
var Title$4 = /*#__PURE__*/styled.h2.withConfig({
|
|
31181
31181
|
displayName: "BaseInformationDetails__Title",
|
|
31182
31182
|
componentId: "sc-1vguuz8-6"
|
|
@@ -32298,7 +32298,9 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32298
32298
|
tabId: "tutorials"
|
|
32299
32299
|
})
|
|
32300
32300
|
}];
|
|
32301
|
-
return React.createElement(
|
|
32301
|
+
return React.createElement(DraggableContainer, {
|
|
32302
|
+
title: "Information Center"
|
|
32303
|
+
}, React.createElement(Container$r, null, React.createElement(InternalTabs, {
|
|
32302
32304
|
tabs: tabs,
|
|
32303
32305
|
activeTextColor: "#000000",
|
|
32304
32306
|
activeTab: activeTab,
|
|
@@ -32320,7 +32322,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32320
32322
|
onBack: function onBack() {
|
|
32321
32323
|
return setSelectedItem(null);
|
|
32322
32324
|
}
|
|
32323
|
-
}));
|
|
32325
|
+
})));
|
|
32324
32326
|
};
|
|
32325
32327
|
var Container$r = /*#__PURE__*/styled.div.withConfig({
|
|
32326
32328
|
displayName: "InformationCenter__Container",
|