@bikdotai/bik-component-library 0.0.112 → 0.0.113
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/cjs/components/searchBar/searchBar.d.ts +0 -1
- package/dist/cjs/components/stepper/WorkingStepper.d.ts +0 -1
- package/dist/cjs/components/tabs/Tabs.d.ts +1 -1
- package/dist/cjs/components/tabs/Tabs.model.d.ts +47 -0
- package/dist/cjs/components/tabs/Tabs.styles.d.ts +1 -1
- package/dist/esm/components/searchBar/searchBar.d.ts +0 -1
- package/dist/esm/components/stepper/WorkingStepper.d.ts +0 -1
- package/dist/esm/components/tabs/Tabs.d.ts +1 -1
- package/dist/esm/components/tabs/Tabs.model.d.ts +47 -0
- package/dist/esm/components/tabs/Tabs.styles.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TabItemComponentProps, TabViewHeaderProps } from './Tabs.
|
|
2
|
+
import { TabItemComponentProps, TabViewHeaderProps } from './Tabs.model';
|
|
3
3
|
export declare const Tabs: React.FC<TabViewHeaderProps>;
|
|
4
4
|
export declare const TabItemComponent: React.FC<TabItemComponentProps>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TabItemProps {
|
|
3
|
+
hasEqualSpacing?: boolean;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
selectedTextColor: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TabItemTextProps {
|
|
8
|
+
selected: boolean;
|
|
9
|
+
textColor: string;
|
|
10
|
+
selectedTextColor: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TabInterface {
|
|
13
|
+
key: string;
|
|
14
|
+
title: string;
|
|
15
|
+
icon?: React.JSXElementConstructor<{
|
|
16
|
+
selected: string;
|
|
17
|
+
}>;
|
|
18
|
+
trailingNumber?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface TabViewHeaderProps {
|
|
21
|
+
hasEqualSpacing?: boolean;
|
|
22
|
+
tabs: TabInterface[];
|
|
23
|
+
onTabSelected: (tabKey: string) => void;
|
|
24
|
+
initialTab?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
textColor?: string;
|
|
27
|
+
selectedTextColor?: string;
|
|
28
|
+
TabItemStyledProps?: React.CSSProperties;
|
|
29
|
+
IconComponent?: React.JSXElementConstructor<{
|
|
30
|
+
selected: string;
|
|
31
|
+
}>;
|
|
32
|
+
selectedTab?: string;
|
|
33
|
+
extendedBorder?: boolean;
|
|
34
|
+
rightComponent?: JSX.Element;
|
|
35
|
+
}
|
|
36
|
+
export interface TabItemComponentProps {
|
|
37
|
+
hasEqualSpacing?: boolean;
|
|
38
|
+
tab: TabInterface;
|
|
39
|
+
currentTab: string;
|
|
40
|
+
setCurrentTab: (tabKey: string) => void;
|
|
41
|
+
textColor: string;
|
|
42
|
+
selectedTextColor: string;
|
|
43
|
+
TabItemStyledProps?: React.CSSProperties;
|
|
44
|
+
IconComponent?: React.JSXElementConstructor<{
|
|
45
|
+
selected: string;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TabItemProps, TabItemTextProps } from './Tabs.
|
|
2
|
+
import { TabItemProps, TabItemTextProps } from './Tabs.model';
|
|
3
3
|
export declare const TabHeader: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TabItemComponentProps, TabViewHeaderProps } from './Tabs.
|
|
2
|
+
import { TabItemComponentProps, TabViewHeaderProps } from './Tabs.model';
|
|
3
3
|
export declare const Tabs: React.FC<TabViewHeaderProps>;
|
|
4
4
|
export declare const TabItemComponent: React.FC<TabItemComponentProps>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TabItemProps {
|
|
3
|
+
hasEqualSpacing?: boolean;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
selectedTextColor: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TabItemTextProps {
|
|
8
|
+
selected: boolean;
|
|
9
|
+
textColor: string;
|
|
10
|
+
selectedTextColor: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TabInterface {
|
|
13
|
+
key: string;
|
|
14
|
+
title: string;
|
|
15
|
+
icon?: React.JSXElementConstructor<{
|
|
16
|
+
selected: string;
|
|
17
|
+
}>;
|
|
18
|
+
trailingNumber?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface TabViewHeaderProps {
|
|
21
|
+
hasEqualSpacing?: boolean;
|
|
22
|
+
tabs: TabInterface[];
|
|
23
|
+
onTabSelected: (tabKey: string) => void;
|
|
24
|
+
initialTab?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
textColor?: string;
|
|
27
|
+
selectedTextColor?: string;
|
|
28
|
+
TabItemStyledProps?: React.CSSProperties;
|
|
29
|
+
IconComponent?: React.JSXElementConstructor<{
|
|
30
|
+
selected: string;
|
|
31
|
+
}>;
|
|
32
|
+
selectedTab?: string;
|
|
33
|
+
extendedBorder?: boolean;
|
|
34
|
+
rightComponent?: JSX.Element;
|
|
35
|
+
}
|
|
36
|
+
export interface TabItemComponentProps {
|
|
37
|
+
hasEqualSpacing?: boolean;
|
|
38
|
+
tab: TabInterface;
|
|
39
|
+
currentTab: string;
|
|
40
|
+
setCurrentTab: (tabKey: string) => void;
|
|
41
|
+
textColor: string;
|
|
42
|
+
selectedTextColor: string;
|
|
43
|
+
TabItemStyledProps?: React.CSSProperties;
|
|
44
|
+
IconComponent?: React.JSXElementConstructor<{
|
|
45
|
+
selected: string;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TabItemProps, TabItemTextProps } from './Tabs.
|
|
2
|
+
import { TabItemProps, TabItemTextProps } from './Tabs.model';
|
|
3
3
|
export declare const TabHeader: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|