@rpg-engine/long-bow 0.7.28 → 0.7.29
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/dist/components/{TableTab/TableTab.d.ts → InternalTabs/InternalTabs.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +66 -66
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +66 -66
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/{TableTab.stories.d.ts → InternalTabs.stories.d.ts} +1 -1
- package/package.json +1 -1
- package/src/components/Friends/SearchFriend.tsx +2 -2
- package/src/components/{TableTab/TableTab.tsx → InternalTabs/InternalTabs.tsx} +1 -1
- package/src/index.tsx +1 -1
- package/src/stories/{TableTab.stories.tsx → InternalTabs.stories.tsx} +7 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
|
-
import { TableTabProps } from '../components/
|
|
2
|
+
import { TableTabProps } from '../components/InternalTabs/InternalTabs';
|
|
3
3
|
declare const meta: Meta;
|
|
4
4
|
export default meta;
|
|
5
5
|
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableTabProps>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debounce } from 'lodash';
|
|
2
2
|
import React, { useCallback, useState } from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
|
-
import {
|
|
4
|
+
import { InternalTabs, UserActionLink } from '../..';
|
|
5
5
|
import { uiColors } from '../../constants/uiColors';
|
|
6
6
|
import { uiFonts } from '../../constants/uiFonts';
|
|
7
7
|
import { IFriend } from './FriendList';
|
|
@@ -95,7 +95,7 @@ export const SearchFriend: React.FC<ISearchFriendProps> = ({
|
|
|
95
95
|
|
|
96
96
|
return (
|
|
97
97
|
<Container>
|
|
98
|
-
<
|
|
98
|
+
<InternalTabs
|
|
99
99
|
tabs={tabs}
|
|
100
100
|
activeTextColor="#000"
|
|
101
101
|
inactiveColor="#777"
|
package/src/index.tsx
CHANGED
|
@@ -17,6 +17,7 @@ export * from './components/HistoryDialog';
|
|
|
17
17
|
export * from './components/ImageCarousel/ImageCarousel';
|
|
18
18
|
export * from './components/ImageCarousel/SimpleImageCarousel';
|
|
19
19
|
export * from './components/Input';
|
|
20
|
+
export * from './components/InternalTabs/InternalTabs';
|
|
20
21
|
export { ErrorBoundary } from './components/Item/Inventory/ErrorBoundary';
|
|
21
22
|
export * from './components/Item/Inventory/ItemContainer';
|
|
22
23
|
export * from './components/Item/Inventory/ItemSlot';
|
|
@@ -45,7 +46,6 @@ export * from './components/SkillProgressBar';
|
|
|
45
46
|
export * from './components/SkillsContainer';
|
|
46
47
|
export * from './components/Spellbook/Spellbook';
|
|
47
48
|
export * from './components/Stepper';
|
|
48
|
-
export * from './components/TableTab/TableTab';
|
|
49
49
|
export * from './components/TextArea';
|
|
50
50
|
export * from './components/TimeWidget/TimeWidget';
|
|
51
51
|
export * from './components/TradingMenu/TradingMenu';
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { RPGUIRoot } from '..';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
InternalTabs,
|
|
6
|
+
TableTabProps,
|
|
7
|
+
} from '../components/InternalTabs/InternalTabs';
|
|
5
8
|
|
|
6
9
|
const meta: Meta = {
|
|
7
|
-
title: '
|
|
8
|
-
component:
|
|
10
|
+
title: 'InternalTabs',
|
|
11
|
+
component: InternalTabs,
|
|
9
12
|
};
|
|
10
13
|
|
|
11
14
|
export default meta;
|
|
12
15
|
|
|
13
16
|
const Template: Story<TableTabProps> = args => (
|
|
14
17
|
<RPGUIRoot>
|
|
15
|
-
<
|
|
18
|
+
<InternalTabs {...args} />
|
|
16
19
|
</RPGUIRoot>
|
|
17
20
|
);
|
|
18
21
|
|