indicator-ui 1.1.20 → 1.1.21

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,5 @@
1
+ export { default as DotStyle } from './Dot.module.scss';
2
+ export { default as WrapperStyle } from './Wrapper.module.scss';
3
+ export { default as TagCountStyle } from './TagCount.module.scss';
4
+ export { default as TagCheckboxStyle } from './TagCheckbox.module.scss';
5
+ export { default as DismissButtonStyle } from './DismissButton.module.scss';
File without changes
@@ -0,0 +1 @@
1
+ export type TagSize = 'small' | 'medium' | 'large';
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { TagSize } from '../types';
3
+ import { DismissButton, Dot, TagCheckbox, TagCount, Wrapper } from './components';
4
+ type TagCountProps = React.ComponentProps<typeof TagCount>;
5
+ type DismissButtonProps = React.ComponentProps<typeof DismissButton>;
6
+ type TagCheckboxProps = React.ComponentProps<typeof TagCheckbox>;
7
+ type DotProps = React.ComponentProps<typeof Dot>;
8
+ type PropsType = Omit<React.ComponentProps<typeof Wrapper>, 'size' | 'active'> & Pick<DotProps, 'showDot'> & Pick<TagCountProps, 'counter'> & Pick<TagCheckboxProps, 'checked'> & {
9
+ size?: TagSize;
10
+ active?: boolean;
11
+ disabled?: boolean;
12
+ onDismissClick?: DismissButtonProps['onClick'];
13
+ onCheckboxClick?: TagCheckboxProps['onClick'];
14
+ };
15
+ export declare function TagV2(props: PropsType): import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { MicroButton } from '../../..';
3
+ import { TagSize } from '../../types';
4
+ type MicroButtonProps = React.ComponentProps<typeof MicroButton>;
5
+ type PropsType = Pick<MicroButtonProps, 'onClick'> & {
6
+ size: TagSize;
7
+ disabled?: boolean;
8
+ };
9
+ export declare function DismissButton(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import { TagSize } from '../../types';
2
+ type PropsType = {
3
+ showDot?: boolean;
4
+ size: TagSize;
5
+ };
6
+ export declare function Dot(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { TagSize } from '../../types';
3
+ type WrapperProps = React.ComponentProps<'div'>;
4
+ type PropsType = Pick<WrapperProps, 'onClick'> & {
5
+ checked?: boolean;
6
+ disabled?: boolean;
7
+ size: TagSize;
8
+ };
9
+ export declare function TagCheckbox(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { TagSize } from '../../types';
3
+ type PropsType = {
4
+ counter?: React.ReactNode;
5
+ color: 'color' | 'gray';
6
+ size: TagSize;
7
+ };
8
+ export declare function TagCount(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { PropsForWithInstanceRef } from '../../../../types';
3
+ import { TagSize } from '../../types';
4
+ type PropsType = PropsForWithInstanceRef<'div', React.ComponentRef<'div'>, {
5
+ size: TagSize;
6
+ active: boolean;
7
+ }>;
8
+ export declare function Wrapper(props: PropsType): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './Wrapper';
2
+ export * from './Dot';
3
+ export * from './TagCheckbox';
4
+ export * from './TagCount';
5
+ export * from './DismissButton';
@@ -0,0 +1 @@
1
+ export * from './TagV2';
@@ -32,4 +32,5 @@ export * from './DropdownV2';
32
32
  export * from './MediaViewerV2';
33
33
  export * from './datePickersV2';
34
34
  export * from './ToggleV2';
35
+ export * from './TagV2';
35
36
  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.20",
14
+ "version": "1.1.21",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",