@sellgar/kit 0.0.93 → 0.0.95
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/index.css +1 -1
- package/dist/index.js +3849 -3655
- package/package.json +1 -1
- package/types/components/symbols/index.d.ts +1 -0
- package/types/components/symbols/tab-menu/index.d.ts +1 -0
- package/types/components/symbols/tab-menu/tab/fill/fill.d.ts +16 -0
- package/types/components/symbols/tab-menu/tab/fill/index.d.ts +1 -0
- package/types/components/symbols/tab-menu/tab/index.d.ts +2 -0
- package/types/components/symbols/tab-menu/tab/line/index.d.ts +1 -0
- package/types/components/symbols/tab-menu/tab/line/line.d.ts +15 -0
- package/types/components/symbols/tab-menu/tab/segmented/index.d.ts +1 -0
- package/types/components/symbols/tab-menu/tab/segmented/segmented.d.ts +16 -0
- package/types/components/symbols/tab-menu/tab/tab.d.ts +15 -0
- package/types/components/symbols/tab-menu/tab-menu.d.ts +22 -0
- package/types/components/symbols/tab-menu/tab.context.d.ts +12 -0
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabMenu } from './tab-menu.tsx';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
size?: 'lg' | 'md' | 'sm';
|
|
4
|
+
style?: 'primary' | 'secondary';
|
|
5
|
+
shape?: 'rounded' | 'pill';
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
title: string;
|
|
8
|
+
name: string;
|
|
9
|
+
leadIcon?: React.ReactNode;
|
|
10
|
+
tailIcon?: React.ReactNode;
|
|
11
|
+
badge?: React.ReactNode;
|
|
12
|
+
onClick?(): void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const Fill: React.FC<React.PropsWithChildren<IProps>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Fill } from './fill.tsx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Line } from './line.tsx';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
size?: 'lg' | 'md' | 'sm';
|
|
4
|
+
style?: 'primary';
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
title: string;
|
|
7
|
+
name: string;
|
|
8
|
+
leadIcon?: React.ReactNode;
|
|
9
|
+
tailIcon?: React.ReactNode;
|
|
10
|
+
badge?: React.ReactNode;
|
|
11
|
+
onClick?(): void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Line: React.FC<React.PropsWithChildren<IProps>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Segmented } from './segmented.tsx';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
size?: 'lg' | 'md' | 'sm';
|
|
4
|
+
style?: 'primary';
|
|
5
|
+
shape?: 'rounded' | 'pill';
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
title: string;
|
|
8
|
+
name: string;
|
|
9
|
+
leadIcon?: React.ReactNode;
|
|
10
|
+
tailIcon?: React.ReactNode;
|
|
11
|
+
badge?: React.ReactNode;
|
|
12
|
+
onClick?(): void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const Segmented: React.FC<React.PropsWithChildren<IProps>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
type?: 'fill' | 'line' | 'segmented';
|
|
4
|
+
style?: 'primary' | 'secondary';
|
|
5
|
+
size?: 'lg' | 'md' | 'sm';
|
|
6
|
+
shape?: 'rounded' | 'pill';
|
|
7
|
+
name: string;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
title: string;
|
|
10
|
+
leadIcon?: React.ReactNode;
|
|
11
|
+
tailIcon?: React.ReactNode;
|
|
12
|
+
badge?: React.ReactNode;
|
|
13
|
+
onClick?(tabName: string): void;
|
|
14
|
+
}
|
|
15
|
+
export declare const Tab: React.FC<React.PropsWithChildren<IProps>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Tab } from './tab';
|
|
3
|
+
declare const Menu: React.FC<React.PropsWithChildren>;
|
|
4
|
+
interface IContentProps {
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Content: React.FC<React.PropsWithChildren<IContentProps>>;
|
|
8
|
+
interface IProps {
|
|
9
|
+
size?: 'lg' | 'md' | 'sm';
|
|
10
|
+
shape?: 'rounded' | 'pill';
|
|
11
|
+
type?: 'fill' | 'line' | 'segmented';
|
|
12
|
+
defaultTabName?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const TabMenuComponent: React.FC<React.PropsWithChildren<IProps>>;
|
|
15
|
+
type TTabMenu = typeof TabMenuComponent & {
|
|
16
|
+
Menu: typeof Menu & {
|
|
17
|
+
Tab: typeof Tab;
|
|
18
|
+
};
|
|
19
|
+
Content: typeof Content;
|
|
20
|
+
};
|
|
21
|
+
export declare const TabMenu: TTabMenu;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IContext {
|
|
3
|
+
size?: 'lg' | 'md' | 'sm';
|
|
4
|
+
shape?: 'rounded' | 'pill';
|
|
5
|
+
type?: 'fill' | 'line' | 'segmented';
|
|
6
|
+
activeTabName?: string;
|
|
7
|
+
setActiveTabName?(tabName: string): void;
|
|
8
|
+
onClick: (tabName?: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const context: React.Context<IContext>;
|
|
11
|
+
export declare const Provider: React.Provider<IContext>;
|
|
12
|
+
export {};
|