@rpg-engine/long-bow 0.4.84 → 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 +1 -1
  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
@@ -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
+ };