@rpg-engine/long-bow 0.5.32 → 0.5.34

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.
Files changed (81) hide show
  1. package/dist/components/DraggableContainer.d.ts +1 -1
  2. package/dist/components/RPGUI/RPGUIOverrides.d.ts +6 -0
  3. package/dist/components/{RPGUIRoot.d.ts → RPGUI/RPGUIRoot.d.ts} +1 -1
  4. package/dist/components/RPGUI/RPGUIScrollbar.d.ts +6 -0
  5. package/dist/index.d.ts +2 -2
  6. package/dist/long-bow.cjs.development.js +32 -18
  7. package/dist/long-bow.cjs.development.js.map +1 -1
  8. package/dist/long-bow.cjs.production.min.js +1 -1
  9. package/dist/long-bow.cjs.production.min.js.map +1 -1
  10. package/dist/long-bow.esm.js +32 -18
  11. package/dist/long-bow.esm.js.map +1 -1
  12. package/dist/stories/RPGUIContainers.stories.d.ts +1 -1
  13. package/package.json +1 -1
  14. package/src/components/Abstractions/SlotsContainer.tsx +1 -1
  15. package/src/components/Chatdeprecated/ChatDeprecated.tsx +1 -1
  16. package/src/components/CraftBook/CraftBook.tsx +1 -1
  17. package/src/components/DraggableContainer.tsx +1 -1
  18. package/src/components/Equipment/EquipmentSet.tsx +1 -1
  19. package/src/components/ImageCarousel/ImageCarousel.tsx +1 -1
  20. package/src/components/Item/Inventory/ItemQuantitySelector.tsx +4 -1
  21. package/src/components/Marketplace/Marketplace.tsx +1 -1
  22. package/src/components/Multitab/TabsContainer.tsx +1 -1
  23. package/src/components/NPCDialog/NPCDialog.tsx +1 -1
  24. package/src/components/NPCDialog/NPCMultiDialog.tsx +2 -2
  25. package/src/components/PartySystem/PartyCreate/PartyCreate.tsx +1 -1
  26. package/src/components/PartySystem/PartyDashboard/PartyDashboard.tsx +1 -1
  27. package/src/components/PartySystem/PartyInvite/PartyInvite.tsx +1 -1
  28. package/src/components/PartySystem/PartyManager/PartyManager.tsx +1 -1
  29. package/src/components/QuestInfo/QuestInfo.tsx +1 -1
  30. package/src/components/QuestList.tsx +1 -1
  31. package/src/components/RPGUI/RPGUIOverrides.tsx +9 -0
  32. package/src/components/{RPGUIRoot.tsx → RPGUI/RPGUIRoot.tsx} +7 -2
  33. package/src/components/RPGUI/RPGUIScrollbar.tsx +24 -0
  34. package/src/components/RadioInput/RadioInput.tsx +1 -1
  35. package/src/components/Spellbook/Spellbook.tsx +1 -1
  36. package/src/components/TradingMenu/TradingMenu.tsx +1 -1
  37. package/src/components/itemSelector/ItemSelector.tsx +1 -1
  38. package/src/index.tsx +2 -2
  39. package/src/stories/Button.stories.tsx +1 -1
  40. package/src/stories/CharacterStatus.stories.tsx +1 -1
  41. package/src/stories/Chat.stories.tsx +1 -1
  42. package/src/stories/ChatDeprecated.stories.tsx +1 -1
  43. package/src/stories/ChatRevamp.stories.tsx +1 -1
  44. package/src/stories/CheckButton.stories.tsx +2 -2
  45. package/src/stories/DayNightPeriod.stories.tsx +1 -1
  46. package/src/stories/DraggableContainer.stories.tsx +1 -1
  47. package/src/stories/EquipmentSet.stories.tsx +1 -1
  48. package/src/stories/HistoryDialog.stories.tsx +5 -5
  49. package/src/stories/ImageCarousel.stories.tsx +1 -1
  50. package/src/stories/ItemContainer.stories.tsx +1 -1
  51. package/src/stories/ItemInfoDisplay.stories.tsx +1 -1
  52. package/src/stories/ItemTradingComponent.stories.tsx +2 -2
  53. package/src/stories/Leaderboard.stories.tsx +1 -1
  54. package/src/stories/ListMenu.stories.tsx +1 -1
  55. package/src/stories/Multitab.stories.tsx +1 -1
  56. package/src/stories/NPCDialog.stories.tsx +1 -1
  57. package/src/stories/NPCMultiDialog.stories.tsx +3 -3
  58. package/src/stories/PartyCreate.stories.tsx +1 -1
  59. package/src/stories/PartyDashboard.stories.tsx +1 -1
  60. package/src/stories/PartyInvite.stories.tsx +1 -1
  61. package/src/stories/PartyManager.stories.tsx +1 -1
  62. package/src/stories/ProgressBar.stories.tsx +1 -1
  63. package/src/stories/QuestInfo.stories.tsx +1 -1
  64. package/src/stories/QuestList.stories.tsx +1 -1
  65. package/src/stories/RPGUIContainers.stories.tsx +2 -2
  66. package/src/stories/RadioButton.stories.tsx +3 -3
  67. package/src/stories/RadioInput.stories.tsx +25 -26
  68. package/src/stories/RangeSlider.stories.tsx +1 -1
  69. package/src/stories/ScrollList.stories.tsx +1 -1
  70. package/src/stories/Shortcuts.stories.tsx +1 -1
  71. package/src/stories/SimpleProgressBar.stories.tsx +1 -1
  72. package/src/stories/SkillProgressBar.stories.tsx +3 -3
  73. package/src/stories/SkillsContainer.stories.tsx +1 -1
  74. package/src/stories/SpellInfoDisplay.stories.tsx +1 -1
  75. package/src/stories/Spellbook.stories.tsx +1 -1
  76. package/src/stories/TimeWidget.stories.tsx +1 -1
  77. package/src/stories/TradingMenu.stories.tsx +2 -2
  78. /package/dist/components/{RPGUIContainer.d.ts → RPGUI/RPGUIContainer.d.ts} +0 -0
  79. /package/dist/components/{RPGUIForceRenderStart.d.ts → RPGUI/RPGUIForceRenderStart.d.ts} +0 -0
  80. /package/src/components/{RPGUIContainer.tsx → RPGUI/RPGUIContainer.tsx} +0 -0
  81. /package/src/components/{RPGUIForceRenderStart.tsx → RPGUI/RPGUIForceRenderStart.tsx} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
3
  import {
4
- InputRadio,
5
4
  IRadioItems,
6
5
  IRadioProps,
6
+ InputRadio,
7
7
  } from '../../src/components/RadioButton';
8
8
  import {
9
9
  RPGUIContainer,
10
10
  RPGUIContainerTypes,
11
- } from '../../src/components/RPGUIContainer';
12
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
11
+ } from '../components/RPGUI/RPGUIContainer';
12
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
13
13
 
14
14
  const meta: Meta = {
15
15
  title: 'Radio Input',
@@ -1,35 +1,34 @@
1
- import React from 'react';
2
1
  import { Meta, Story } from '@storybook/react';
3
- import { RadioInput ,IRadioInput} from '../components/RadioInput/RadioInput';
4
- import { RPGUIRoot } from '../components/RPGUIRoot';
2
+ import React from 'react';
3
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
4
+ import { IRadioInput, RadioInput } from '../components/RadioInput/RadioInput';
5
5
  import { Itools } from '../components/RadioInput/instruments';
6
6
 
7
- const meta: Meta = {
8
- component: RadioInput,
9
- };
7
+ const meta: Meta = {
8
+ component: RadioInput,
9
+ };
10
10
 
11
11
  export default meta;
12
12
  const Template: Story<IRadioInput> = args => (
13
- <RPGUIRoot>
14
- <RadioInput {...args} />
15
- </RPGUIRoot>
16
- );
17
-
18
- export const RadioInputElement = Template.bind({});
13
+ <RPGUIRoot>
14
+ <RadioInput {...args} />
15
+ </RPGUIRoot>
16
+ );
17
+
18
+ export const RadioInputElement = Template.bind({});
19
19
 
20
- const onSelectIt = (value:string):void => {
21
- console.log('Story package', value);
22
- };
23
-
24
- const onClose = () => {
25
- console.log('close');
26
- };
20
+ const onSelectIt = (value: string): void => {
21
+ console.log('Story package', value);
22
+ };
27
23
 
28
- RadioInputElement.args={
29
- title:"Harvesting instruments",
30
- subtitle:'Use the tool, you need it',
31
- onSelect:onSelectIt,
32
- onCancel:onClose,
33
- items:Itools
24
+ const onClose = () => {
25
+ console.log('close');
26
+ };
34
27
 
35
- }
28
+ RadioInputElement.args = {
29
+ title: 'Harvesting instruments',
30
+ subtitle: 'Use the tool, you need it',
31
+ onSelect: onSelectIt,
32
+ onCancel: onClose,
33
+ items: Itools,
34
+ };
@@ -5,7 +5,7 @@ import {
5
5
  RangeSlider,
6
6
  RangeSliderType,
7
7
  } from '../../src/components/RangeSlider';
8
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
8
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
9
9
 
10
10
  const meta: Meta = {
11
11
  title: 'Slider',
@@ -1,7 +1,7 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
4
3
  import { IListMenuProps, ListMenu } from '../../src/components/ScrollList';
4
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
5
5
 
6
6
  const meta: Meta = {
7
7
  /* 👇 The title prop is optional.
@@ -1,6 +1,6 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../components/RPGUIRoot';
3
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
4
4
  import { Shortcuts, ShortcutsProps } from '../components/Shortcuts/Shortcuts';
5
5
  import { SHORTCUTS_STORAGE_KEY } from '../components/Spellbook/constants';
6
6
  import atlasJSON from '../mocks/atlas/items/items.json';
@@ -1,10 +1,10 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
4
3
  import {
5
4
  ISimpleProgressBarProps,
6
5
  SimpleProgressBar,
7
6
  } from '../../src/components/SimpleProgressBar';
7
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
8
8
 
9
9
  const meta: Meta = {
10
10
  title: 'Simple Progress Bar',
@@ -1,12 +1,12 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
4
- import atlasJSON from '../mocks/atlas/items/items.json';
5
- import atlasIMG from '../mocks/atlas/items/items.png';
6
3
  import {
7
4
  ISkillProgressBarProps,
8
5
  SkillProgressBar,
9
6
  } from '../../src/components/SkillProgressBar';
7
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
8
+ import atlasJSON from '../mocks/atlas/items/items.json';
9
+ import atlasIMG from '../mocks/atlas/items/items.png';
10
10
 
11
11
  const meta: Meta = {
12
12
  title: 'Skill Progress Bar',
@@ -1,11 +1,11 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../../src/components/RPGUIRoot';
4
3
  import {
5
4
  ISkillContainerProps,
6
5
  SkillsContainer,
7
6
  } from '../../src/components/SkillsContainer';
8
7
  import { skillMock } from '../../src/mocks/skills.mocks';
8
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
9
9
  import atlasJSON from '../mocks/atlas/items/items.json';
10
10
  import atlasIMG from '../mocks/atlas/items/items.png';
11
11
 
@@ -1,6 +1,6 @@
1
1
  import { Story } from '@storybook/react';
2
2
  import React from 'react';
3
- import { RPGUIRoot } from '../components/RPGUIRoot';
3
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
4
4
  import {
5
5
  ISpellInfoDisplayProps,
6
6
  SpellInfoDisplay,
@@ -1,7 +1,7 @@
1
1
  import { IRawSpell, IShortcut, ShortcutType } from '@rpg-engine/shared';
2
2
  import { Meta, Story } from '@storybook/react';
3
3
  import React, { useEffect, useState } from 'react';
4
- import { RPGUIRoot } from '../components/RPGUIRoot';
4
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
5
5
  import { ISpellbookProps, Spellbook } from '../components/Spellbook/Spellbook';
6
6
  import {
7
7
  SHORTCUTS_STORAGE_KEY,
@@ -1,7 +1,7 @@
1
1
  import { PeriodOfDay } from '@rpg-engine/shared';
2
2
  import { Meta, Story } from '@storybook/react';
3
3
  import React from 'react';
4
- import { RPGUIRoot } from '../components/RPGUIRoot';
4
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
5
5
  import {
6
6
  IClockWidgetProps,
7
7
  TimeWidget,
@@ -1,12 +1,12 @@
1
1
  import { ITradeRequestItem } from '@rpg-engine/shared';
2
2
  import { Meta, Story } from '@storybook/react';
3
3
  import React from 'react';
4
- import { RPGUIRoot } from '../components/RPGUIRoot';
5
- import { itemMock } from '../components/TradingMenu/items.mock';
4
+ import { RPGUIRoot } from '../components/RPGUI/RPGUIRoot';
6
5
  import {
7
6
  ITradingMenu,
8
7
  TradingMenu,
9
8
  } from '../components/TradingMenu/TradingMenu';
9
+ import { itemMock } from '../components/TradingMenu/items.mock';
10
10
  import atlasJSON from '../mocks/atlas/items/items.json';
11
11
  import atlasIMG from '../mocks/atlas/items/items.png';
12
12
  import { equipmentSetMock } from '../mocks/equipmentSet.mocks';