@rpg-engine/long-bow 0.4.85 → 0.4.86

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 (53) hide show
  1. package/dist/components/PartySystem/PartyCreate/PartyCreate.d.ts +6 -0
  2. package/dist/components/PartySystem/PartyCreate/index.d.ts +1 -0
  3. package/dist/components/PartySystem/PartyDashboard/PartyDashboard.d.ts +6 -0
  4. package/dist/components/PartySystem/PartyDashboard/PartyRows.d.ts +11 -0
  5. package/dist/components/PartySystem/PartyDashboard/index.d.ts +2 -0
  6. package/dist/components/PartySystem/PartyInvite/PartyInvite.d.ts +6 -0
  7. package/dist/components/PartySystem/PartyInvite/PlayersRows.d.ts +9 -0
  8. package/dist/components/PartySystem/PartyInvite/index.d.ts +2 -0
  9. package/dist/components/PartySystem/PartyManager/PartyManager.d.ts +6 -0
  10. package/dist/components/PartySystem/PartyManager/PartyManagerRows.d.ts +8 -0
  11. package/dist/components/PartySystem/PartyManager/index.d.ts +2 -0
  12. package/dist/components/PartySystem/index.d.ts +5 -0
  13. package/dist/components/PartySystem/mockedConstantes/index.d.ts +1 -0
  14. package/dist/components/PartySystem/mockedConstantes/mockedValues.d.ts +6 -0
  15. package/dist/constants/uiColors.d.ts +1 -0
  16. package/dist/index.d.ts +5 -4
  17. package/dist/long-bow.cjs.development.js +484 -109
  18. package/dist/long-bow.cjs.development.js.map +1 -1
  19. package/dist/long-bow.cjs.production.min.js +1 -1
  20. package/dist/long-bow.cjs.production.min.js.map +1 -1
  21. package/dist/long-bow.esm.js +475 -110
  22. package/dist/long-bow.esm.js.map +1 -1
  23. package/dist/stories/PartyCreate.stories.d.ts +5 -0
  24. package/dist/stories/PartyDashboard.stories.d.ts +5 -0
  25. package/dist/stories/PartyInvite.stories.d.ts +5 -0
  26. package/dist/stories/PartyManager.stories.d.ts +5 -0
  27. package/package.json +2 -2
  28. package/src/.DS_Store +0 -0
  29. package/src/components/.DS_Store +0 -0
  30. package/src/components/NPCDialog/.DS_Store +0 -0
  31. package/src/components/NPCDialog/img/.DS_Store +0 -0
  32. package/src/components/PartySystem/PartyCreate/PartyCreate.tsx +79 -0
  33. package/src/components/PartySystem/PartyCreate/index.ts +1 -0
  34. package/src/components/PartySystem/PartyDashboard/PartyDashboard.tsx +67 -0
  35. package/src/components/PartySystem/PartyDashboard/PartyRows.tsx +57 -0
  36. package/src/components/PartySystem/PartyDashboard/index.ts +2 -0
  37. package/src/components/PartySystem/PartyInvite/PartyInvite.tsx +60 -0
  38. package/src/components/PartySystem/PartyInvite/PlayersRows.tsx +49 -0
  39. package/src/components/PartySystem/PartyInvite/index.ts +2 -0
  40. package/src/components/PartySystem/PartyManager/PartyManager.tsx +57 -0
  41. package/src/components/PartySystem/PartyManager/PartyManagerRows.tsx +43 -0
  42. package/src/components/PartySystem/PartyManager/index.ts +2 -0
  43. package/src/components/PartySystem/index.ts +6 -0
  44. package/src/components/PartySystem/mockedConstantes/index.ts +1 -0
  45. package/src/components/PartySystem/mockedConstantes/mockedValues.tsx +150 -0
  46. package/src/constants/uiColors.ts +1 -0
  47. package/src/index.tsx +5 -4
  48. package/src/mocks/.DS_Store +0 -0
  49. package/src/mocks/atlas/.DS_Store +0 -0
  50. package/src/stories/PartyCreate.stories.tsx +24 -0
  51. package/src/stories/PartyDashboard.stories.tsx +27 -0
  52. package/src/stories/PartyInvite.stories.tsx +27 -0
  53. package/src/stories/PartyManager.stories.tsx +27 -0
package/src/index.tsx CHANGED
@@ -14,22 +14,21 @@ export * from './components/Input';
14
14
  export { ErrorBoundary } from './components/Item/Inventory/ErrorBoundary';
15
15
  export * from './components/Item/Inventory/ItemContainer';
16
16
  export * from './components/Item/Inventory/ItemSlot';
17
- export * from './components/itemSelector/ItemSelector';
18
17
  export * from './components/ListMenu';
19
18
  export * from './components/Marketplace/Marketplace';
20
19
  export * from './components/Marketplace/MarketplaceRows';
21
20
  export * from './components/NPCDialog/NPCDialog';
22
21
  export * from './components/NPCDialog/NPCMultiDialog';
23
22
  export * from './components/NPCDialog/QuestionDialog/QuestionDialog';
23
+ export * from './components/PartySystem';
24
24
  export * from './components/ProgressBar';
25
25
  export * from './components/PropertySelect/PropertySelect';
26
26
  export * from './components/QuestInfo/QuestInfo';
27
27
  export * from './components/QuestList';
28
- export * from './components/RadioButton';
29
- export * from './components/RangeSlider';
30
28
  export * from './components/RPGUIContainer';
31
29
  export * from './components/RPGUIRoot';
32
- export * from './components/shared/SpriteFromAtlas';
30
+ export * from './components/RadioButton';
31
+ export * from './components/RangeSlider';
33
32
  export * from './components/Shortcuts/Shortcuts';
34
33
  export * from './components/SkillProgressBar';
35
34
  export * from './components/SkillsContainer';
@@ -38,5 +37,7 @@ export * from './components/TextArea';
38
37
  export * from './components/TimeWidget/TimeWidget';
39
38
  export * from './components/TradingMenu/TradingMenu';
40
39
  export * from './components/Truncate';
40
+ export * from './components/itemSelector/ItemSelector';
41
+ export * from './components/shared/SpriteFromAtlas';
41
42
  export * from './components/typography/DynamicText';
42
43
  export { useEventListener } from './hooks/useEventListener';
Binary file
Binary file
@@ -0,0 +1,24 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
+ import { IPartyCreateProps, PartyCreate } from '../components/PartySystem';
4
+ import { RPGUIRoot } from '../components/RPGUIRoot';
5
+
6
+ const meta: Meta = {
7
+ title: 'Party System/Party Create',
8
+ component: PartyCreate,
9
+ };
10
+
11
+ export default meta;
12
+
13
+ const Template: Story<IPartyCreateProps> = args => (
14
+ <RPGUIRoot>
15
+ <PartyCreate {...args} />
16
+ </RPGUIRoot>
17
+ );
18
+
19
+ export const Default = Template.bind({});
20
+
21
+ Default.args = {
22
+ onClose: () => console.log('onClose'),
23
+ onCreate: () => console.log('OnCreate'),
24
+ };
@@ -0,0 +1,27 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
+ import {
4
+ IPartyDashboardProps,
5
+ PartyDashboard,
6
+ } from '../components/PartySystem/PartyDashboard/PartyDashboard';
7
+ import { mockedPartyRows } from '../components/PartySystem/mockedConstantes/mockedValues';
8
+ import { RPGUIRoot } from '../components/RPGUIRoot';
9
+
10
+ const meta: Meta = {
11
+ title: 'Party System/Party Dashboard',
12
+ component: PartyDashboard,
13
+ };
14
+
15
+ export default meta;
16
+
17
+ const Template: Story<IPartyDashboardProps> = args => (
18
+ <RPGUIRoot>
19
+ <PartyDashboard {...args} />
20
+ </RPGUIRoot>
21
+ );
22
+
23
+ export const Default = Template.bind({});
24
+
25
+ Default.args = {
26
+ partyRows: mockedPartyRows,
27
+ };
@@ -0,0 +1,27 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
+ import {
4
+ IPartyInviteProps,
5
+ PartyInvite,
6
+ } from '../components/PartySystem/PartyInvite/PartyInvite';
7
+ import { mockedPlayersRows } from '../components/PartySystem/mockedConstantes/mockedValues';
8
+ import { RPGUIRoot } from '../components/RPGUIRoot';
9
+
10
+ const meta: Meta = {
11
+ title: 'Party System/Party Invite',
12
+ component: PartyInvite,
13
+ };
14
+
15
+ export default meta;
16
+
17
+ const Template: Story<IPartyInviteProps> = args => (
18
+ <RPGUIRoot>
19
+ <PartyInvite {...args} />
20
+ </RPGUIRoot>
21
+ );
22
+
23
+ export const Default = Template.bind({});
24
+
25
+ Default.args = {
26
+ playersRows: mockedPlayersRows,
27
+ };
@@ -0,0 +1,27 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import React from 'react';
3
+ import {
4
+ IPartyManagerProps,
5
+ PartyManager,
6
+ } from '../components/PartySystem/PartyManager/PartyManager';
7
+ import { mockedPartyManager } from '../components/PartySystem/mockedConstantes/mockedValues';
8
+ import { RPGUIRoot } from '../components/RPGUIRoot';
9
+
10
+ const meta: Meta = {
11
+ title: 'Party System/Party Manager',
12
+ component: PartyManager,
13
+ };
14
+
15
+ export default meta;
16
+
17
+ const Template: Story<IPartyManagerProps> = args => (
18
+ <RPGUIRoot>
19
+ <PartyManager {...args} />
20
+ </RPGUIRoot>
21
+ );
22
+
23
+ export const Default = Template.bind({});
24
+
25
+ Default.args = {
26
+ partyRows: mockedPartyManager,
27
+ };