@rpg-engine/long-bow 0.8.23 → 0.8.25
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 +10 -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 +10 -8
- 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/sections/bestiary/InformationCenterNPCDetails.tsx +3 -1
- package/src/components/InformationCenter/sections/items/InformationCenterItemDetails.tsx +3 -1
- package/src/components/InformationCenter/shared/BaseInformationDetails.tsx +6 -13
|
@@ -31161,15 +31161,15 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31161
31161
|
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
31162
31162
|
displayName: "BaseInformationDetails__Container",
|
|
31163
31163
|
componentId: "sc-1vguuz8-0"
|
|
31164
|
-
})(["position:
|
|
31164
|
+
})(["position:absolute;inset:0;display:flex;justify-content:center;align-items:center;z-index:1000;"]);
|
|
31165
31165
|
var Overlay = /*#__PURE__*/styled__default.div.withConfig({
|
|
31166
31166
|
displayName: "BaseInformationDetails__Overlay",
|
|
31167
31167
|
componentId: "sc-1vguuz8-1"
|
|
31168
|
-
})(["position:absolute;
|
|
31168
|
+
})(["position:absolute;inset:0;background-color:rgba(0,0,0,0.8);"]);
|
|
31169
31169
|
var Modal = /*#__PURE__*/styled__default.div.withConfig({
|
|
31170
31170
|
displayName: "BaseInformationDetails__Modal",
|
|
31171
31171
|
componentId: "sc-1vguuz8-2"
|
|
31172
|
-
})(["position:relative;width:90%;
|
|
31172
|
+
})(["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);
|
|
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:16px;"]);
|
|
31184
|
+
})(["display:flex;flex-direction:column;gap:16px;height:100%;overflow:auto;"]);
|
|
31185
31185
|
var Title$4 = /*#__PURE__*/styled__default.h2.withConfig({
|
|
31186
31186
|
displayName: "BaseInformationDetails__Title",
|
|
31187
31187
|
componentId: "sc-1vguuz8-6"
|
|
@@ -31269,7 +31269,7 @@ var Value = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31269
31269
|
var StyledCollapsible = /*#__PURE__*/styled__default(Collapsible).withConfig({
|
|
31270
31270
|
displayName: "InformationCenterItemDetails__StyledCollapsible",
|
|
31271
31271
|
componentId: "sc-zwf6pb-4"
|
|
31272
|
-
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:
|
|
31272
|
+
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:auto;scrollbar-width:thin;scrollbar-color:", " transparent;"], uiColors.darkGray);
|
|
31273
31273
|
var Description$2 = /*#__PURE__*/styled__default.p.withConfig({
|
|
31274
31274
|
displayName: "InformationCenterItemDetails__Description",
|
|
31275
31275
|
componentId: "sc-zwf6pb-5"
|
|
@@ -31692,7 +31692,7 @@ var Value$1 = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31692
31692
|
var StyledCollapsible$1 = /*#__PURE__*/styled__default(Collapsible).withConfig({
|
|
31693
31693
|
displayName: "InformationCenterNPCDetails__StyledCollapsible",
|
|
31694
31694
|
componentId: "sc-fdu3xl-4"
|
|
31695
|
-
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:
|
|
31695
|
+
})(["background:rgba(255,255,255,0.05);border-radius:4px;overflow:auto;scrollbar-width:thin;scrollbar-color:", " transparent;"], uiColors.darkGray);
|
|
31696
31696
|
var StatGrid$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
31697
31697
|
displayName: "InformationCenterNPCDetails__StatGrid",
|
|
31698
31698
|
componentId: "sc-fdu3xl-5"
|
|
@@ -32303,7 +32303,9 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32303
32303
|
tabId: "tutorials"
|
|
32304
32304
|
})
|
|
32305
32305
|
}];
|
|
32306
|
-
return React__default.createElement(
|
|
32306
|
+
return React__default.createElement(DraggableContainer, {
|
|
32307
|
+
title: "Information Center"
|
|
32308
|
+
}, React__default.createElement(Container$r, null, React__default.createElement(InternalTabs, {
|
|
32307
32309
|
tabs: tabs,
|
|
32308
32310
|
activeTextColor: "#000000",
|
|
32309
32311
|
activeTab: activeTab,
|
|
@@ -32325,7 +32327,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32325
32327
|
onBack: function onBack() {
|
|
32326
32328
|
return setSelectedItem(null);
|
|
32327
32329
|
}
|
|
32328
|
-
}));
|
|
32330
|
+
})));
|
|
32329
32331
|
};
|
|
32330
32332
|
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
32331
32333
|
displayName: "InformationCenter__Container",
|