@rpg-engine/long-bow 0.8.128 → 0.8.129

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.8.128",
3
+ "version": "0.8.129",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -33,6 +33,7 @@ export interface IStoreProps {
33
33
  tabOrder?: TabId[];
34
34
  defaultActiveTab?: TabId;
35
35
  textInputItemKeys?: string[];
36
+ customPacksContent?: React.ReactNode;
36
37
  }
37
38
 
38
39
  export const Store: React.FC<IStoreProps> = ({
@@ -50,6 +51,7 @@ export const Store: React.FC<IStoreProps> = ({
50
51
  tabOrder,
51
52
  defaultActiveTab,
52
53
  textInputItemKeys = [],
54
+ customPacksContent,
53
55
  }) => {
54
56
  const [selectedPack, setSelectedPack] = useState<IItemPack | null>(null);
55
57
  const [activeTab, setActiveTab] = useState<TabId>(() => {
@@ -164,7 +166,7 @@ export const Store: React.FC<IStoreProps> = ({
164
166
  packs: {
165
167
  id: 'packs',
166
168
  title: 'Packs',
167
- content: (
169
+ content: customPacksContent ?? (
168
170
  <StorePacksSection
169
171
  packs={packs.filter(pack => pack.priceUSD < 9.99)}
170
172
  onAddToCart={handleAddPackToCart}