indicator-ui 1.1.58 → 1.1.59
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.cjs +11 -11
- package/dist/index.js +6716 -6653
- package/dist/indicator-ui.css +1 -1
- package/dist/types/src/ui/TabV2/TabButton/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabButton/styles/index.d.ts +3 -0
- package/dist/types/src/ui/TabV2/TabButton/types/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabButton/ui/IconItem.d.ts +9 -0
- package/dist/types/src/ui/TabV2/TabButton/ui/TabButton.d.ts +14 -0
- package/dist/types/src/ui/TabV2/TabButton/ui/Text.d.ts +10 -0
- package/dist/types/src/ui/TabV2/TabButton/ui/Wrapper.d.ts +9 -0
- package/dist/types/src/ui/TabV2/TabButton/ui/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabFrame/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabFrame/styles/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabFrame/ui/TabFrame.d.ts +4 -0
- package/dist/types/src/ui/TabV2/TabFrame/ui/index.d.ts +1 -0
- package/dist/types/src/ui/TabV2/TabV2/index.d.ts +8 -0
- package/dist/types/src/ui/TabV2/index.d.ts +1 -0
- package/dist/types/src/ui/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ButtonActiveState = 'active' | 'default';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonActiveState } from '../types';
|
|
3
|
+
type PropsType = {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
activeState: ButtonActiveState;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare function IconItem(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React, ElementType } from 'react';
|
|
2
|
+
import { ButtonActiveState } from '../types';
|
|
3
|
+
import { Wrapper } from './Wrapper';
|
|
4
|
+
import { Text } from './Text';
|
|
5
|
+
import { IconItem } from './IconItem';
|
|
6
|
+
type IconItemProps = React.ComponentProps<typeof IconItem>;
|
|
7
|
+
type PropsType<T extends ElementType = 'button'> = Omit<React.ComponentProps<typeof Wrapper<T>>, 'activeState' | 'disabled'> & Pick<React.ComponentProps<typeof Text>, 'text' | 'children'> & {
|
|
8
|
+
iconLeft?: IconItemProps['icon'];
|
|
9
|
+
iconRight?: IconItemProps['icon'];
|
|
10
|
+
activeState?: ButtonActiveState;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function TabButton<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonActiveState } from '../types';
|
|
3
|
+
type PropsType = {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
text?: React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
activeState: ButtonActiveState;
|
|
8
|
+
};
|
|
9
|
+
export declare function Text(props: PropsType): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React, ElementType } from 'react';
|
|
2
|
+
import { PolyPropsWithInstanceRef } from '../../../../types';
|
|
3
|
+
import { ButtonActiveState } from '../types';
|
|
4
|
+
type PropsType<T extends ElementType = 'button'> = PolyPropsWithInstanceRef<T, React.ComponentRef<T>, {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
activeState: ButtonActiveState;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function Wrapper<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TabFrameStyle } from './TabFrame.module.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabFrame';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabV2';
|