@rpg-engine/long-bow 0.8.213 → 0.8.214

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.
@@ -26,6 +26,10 @@ export interface IStoreProps {
26
26
  customHistoryContent?: React.ReactNode;
27
27
  /** When true the store renders full-screen (useful on mobile). */
28
28
  fullScreen?: boolean;
29
+ /** Override the DraggableContainer width (e.g. "90vw"). Defaults to "1000px". */
30
+ containerWidth?: string;
31
+ /** Override the DraggableContainer height (e.g. "80vh"). Defaults to "auto". */
32
+ containerHeight?: string;
29
33
  packsBadge?: string;
30
34
  featuredItems?: IFeaturedItem[];
31
35
  onQuickBuy?: (item: IProductBlueprint, quantity?: number) => void;
@@ -39710,6 +39710,8 @@ var Store = function Store(_ref) {
39710
39710
  customHistoryContent = _ref.customHistoryContent,
39711
39711
  _ref$fullScreen = _ref.fullScreen,
39712
39712
  fullScreen = _ref$fullScreen === void 0 ? false : _ref$fullScreen,
39713
+ containerWidth = _ref.containerWidth,
39714
+ containerHeight = _ref.containerHeight,
39713
39715
  _ref$packsTabLabel = _ref.packsTabLabel,
39714
39716
  packsTabLabel = _ref$packsTabLabel === void 0 ? 'Packs' : _ref$packsTabLabel,
39715
39717
  packsBadge = _ref.packsBadge,
@@ -40047,9 +40049,9 @@ var Store = function Store(_ref) {
40047
40049
  return React__default.createElement(DraggableContainer, {
40048
40050
  title: "Store",
40049
40051
  onCloseButton: onClose,
40050
- width: "1000px",
40052
+ width: containerWidth != null ? containerWidth : "1000px",
40051
40053
  minWidth: "700px",
40052
- height: "auto",
40054
+ height: containerHeight != null ? containerHeight : "auto",
40053
40055
  type: exports.RPGUIContainerTypes.Framed,
40054
40056
  cancelDrag: "[class*='Store__Container'], [class*='CartView'], [class*='StoreItemDetails'], .close-button",
40055
40057
  isFullScreen: fullScreen