indicator-ui 1.1.58 → 1.1.60

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.
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,3 @@
1
+ export { default as TextStyle } from './Text.module.scss';
2
+ export { default as IconItemStyle } from './IconItem.module.scss';
3
+ export { default as WrapperStyle } from './Wrapper.module.scss';
@@ -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,4 @@
1
+ import { PropsFor } from '../../../../types';
2
+ type PropsType = PropsFor<'div'>;
3
+ export declare function TabFrame(props: PropsType): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TabFrame';
@@ -0,0 +1,8 @@
1
+ import { TabFrame } from '../TabFrame';
2
+ import { TabButton } from '../TabButton';
3
+ type TabV2 = typeof TabFrame & {
4
+ Frame: typeof TabFrame;
5
+ Button: typeof TabButton;
6
+ };
7
+ export declare const TabV2: TabV2;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TabV2';
@@ -36,4 +36,5 @@ export * from './TagV2';
36
36
  export * from './TooltipV2';
37
37
  export * from './RoundButton';
38
38
  export * from './CheckboxV2';
39
+ export * from './TabV2';
39
40
  export * from './visual';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.58",
14
+ "version": "1.1.60",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",