indicator-ui 1.1.29 → 1.1.31

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.
Files changed (34) hide show
  1. package/dist/index.cjs +7 -7
  2. package/dist/index.js +9043 -8841
  3. package/dist/indicator-ui.css +1 -1
  4. package/dist/types/src/ui/CheckboxV2/index.d.ts +1 -0
  5. package/dist/types/src/ui/CheckboxV2/styles/components/index.d.ts +5 -0
  6. package/dist/types/src/ui/CheckboxV2/ui/CheckboxMain.d.ts +5 -0
  7. package/dist/types/src/ui/CheckboxV2/ui/CheckboxV2.d.ts +7 -0
  8. package/dist/types/src/ui/CheckboxV2/ui/components/InfoWrapper.d.ts +4 -0
  9. package/dist/types/src/ui/CheckboxV2/ui/components/MainWrapper.d.ts +5 -0
  10. package/dist/types/src/ui/CheckboxV2/ui/components/Mark.d.ts +7 -0
  11. package/dist/types/src/ui/CheckboxV2/ui/components/Subtitle.d.ts +8 -0
  12. package/dist/types/src/ui/CheckboxV2/ui/components/Title.d.ts +7 -0
  13. package/dist/types/src/ui/CheckboxV2/ui/components/index.d.ts +5 -0
  14. package/dist/types/src/ui/CheckboxV2/ui/index.d.ts +1 -0
  15. package/dist/types/src/ui/RoundButton/context/index.d.ts +7 -0
  16. package/dist/types/src/ui/RoundButton/index.d.ts +1 -0
  17. package/dist/types/src/ui/RoundButton/styles/components/index.d.ts +3 -0
  18. package/dist/types/src/ui/RoundButton/styles/hierarchy/index.d.ts +6 -0
  19. package/dist/types/src/ui/RoundButton/styles/index.d.ts +0 -0
  20. package/dist/types/src/ui/RoundButton/ui/RoundButton.d.ts +12 -0
  21. package/dist/types/src/ui/RoundButton/ui/components/BaseRoundButton.d.ts +10 -0
  22. package/dist/types/src/ui/RoundButton/ui/components/IconBlock.d.ts +7 -0
  23. package/dist/types/src/ui/RoundButton/ui/components/TextBlock.d.ts +7 -0
  24. package/dist/types/src/ui/RoundButton/ui/components/index.d.ts +3 -0
  25. package/dist/types/src/ui/RoundButton/ui/hierarchy/OutlineColor.d.ts +5 -0
  26. package/dist/types/src/ui/RoundButton/ui/hierarchy/Primary.d.ts +5 -0
  27. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryColor.d.ts +5 -0
  28. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryGray.d.ts +5 -0
  29. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryLight.d.ts +5 -0
  30. package/dist/types/src/ui/RoundButton/ui/hierarchy/Tooltip.d.ts +5 -0
  31. package/dist/types/src/ui/RoundButton/ui/hierarchy/index.d.ts +6 -0
  32. package/dist/types/src/ui/RoundButton/ui/index.d.ts +1 -0
  33. package/dist/types/src/ui/index.d.ts +2 -0
  34. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,5 @@
1
+ export { default as MarkStyle } from './Mark.module.scss';
2
+ export { default as InfoWrapperStyle } from './InfoWrapper.module.scss';
3
+ export { default as TitleStyle } from './Title.module.scss';
4
+ export { default as SubtitleStyle } from './Subtitle.module.scss';
5
+ export { default as MainWrapperStyle } from './MainWrapper.module.scss';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { Mark, Title, Subtitle, MainWrapper } from './components';
3
+ type PropsType = React.ComponentProps<typeof MainWrapper> & Pick<React.ComponentProps<typeof Mark>, 'status' | 'error' | 'disabled'> & Pick<React.ComponentProps<typeof Title>, 'title'> & Pick<React.ComponentProps<typeof Subtitle>, 'subtitle'>;
4
+ export declare function CheckboxMain(props: PropsType): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Mark } from './components';
2
+ import { CheckboxMain } from './CheckboxMain';
3
+ type CheckboxV2 = typeof CheckboxMain & {
4
+ Mark: typeof Mark;
5
+ };
6
+ export declare const CheckboxV2: CheckboxV2;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type PropsType = Omit<React.ComponentProps<'div'>, 'className'>;
3
+ export declare function InfoWrapper(props: PropsType): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { PropsForWithInstanceRef } from '../../../../types';
3
+ type PropsType = PropsForWithInstanceRef<'div', React.ComponentRef<'div'>>;
4
+ export declare function MainWrapper(props: PropsType): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ type PropsType = {
2
+ status?: 'checked' | 'indeterminate';
3
+ error?: boolean;
4
+ disabled?: boolean;
5
+ };
6
+ export declare function Mark(props: PropsType): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type PropsType = {
3
+ subtitle?: React.ReactNode;
4
+ error?: boolean;
5
+ disabled?: boolean;
6
+ };
7
+ export declare function Subtitle(props: PropsType): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ type PropsType = {
3
+ title?: React.ReactNode;
4
+ disabled?: boolean;
5
+ };
6
+ export declare function Title(props: PropsType): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './Mark';
2
+ export * from './MainWrapper';
3
+ export * from './InfoWrapper';
4
+ export * from './Title';
5
+ export * from './Subtitle';
@@ -0,0 +1 @@
1
+ export * from './CheckboxV2';
@@ -0,0 +1,7 @@
1
+ export type ContextType = {
2
+ iconStyle?: string;
3
+ textStyle?: string;
4
+ mainStyle?: string;
5
+ disabledStyle?: string;
6
+ };
7
+ export declare const RoundButtonContext: import('react').Context<ContextType>;
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,3 @@
1
+ export { default as BaseRoundButtonStyle } from './BaseRoundButton.module.scss';
2
+ export { default as IconBlockStyle } from './IconBlock.module.scss';
3
+ export { default as TextBlockStyle } from './TextBlock.module.scss';
@@ -0,0 +1,6 @@
1
+ export { default as PrimaryStyle } from './Primary.module.scss';
2
+ export { default as SecondaryColorStyle } from './SecondaryColor.module.scss';
3
+ export { default as SecondaryGrayStyle } from './SecondaryGray.module.scss';
4
+ export { default as SecondaryLightStyle } from './SecondaryLight.module.scss';
5
+ export { default as OutlineColorStyle } from './OutlineColor.module.scss';
6
+ export { default as TooltipStyle } from './Tooltip.module.scss';
@@ -0,0 +1,12 @@
1
+ import { Primary, SecondaryColor, SecondaryGray, SecondaryLight, Tooltip, OutlineColor } from './hierarchy';
2
+ import { IconBlock, TextBlock } from './components';
3
+ export declare const RoundButton: {
4
+ Primary: typeof Primary;
5
+ SecondaryColor: typeof SecondaryColor;
6
+ SecondaryGray: typeof SecondaryGray;
7
+ SecondaryLight: typeof SecondaryLight;
8
+ OutlineColor: typeof OutlineColor;
9
+ Tooltip: typeof Tooltip;
10
+ TextBlock: typeof TextBlock;
11
+ IconBlock: typeof IconBlock;
12
+ };
@@ -0,0 +1,10 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { PolyPropsWithInstanceRef } from '../../../../types';
3
+ type PropsType<T extends ElementType> = PolyPropsWithInstanceRef<T, React.ComponentRef<T>, {
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ disabled?: boolean;
7
+ onClick?: React.MouseEventHandler<ElementType>;
8
+ }>;
9
+ export declare function BaseRoundButton<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { PropsFor } from '../../../../types';
3
+ type PropsType = PropsFor<'div', {
4
+ icon?: React.ReactNode;
5
+ }>;
6
+ export declare function IconBlock(props: PropsType): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { PropsFor } from '../../../../types';
3
+ type PropsType = PropsFor<'span', {
4
+ text?: React.ReactNode;
5
+ }>;
6
+ export declare function TextBlock(props: PropsType): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './TextBlock';
2
+ export * from './IconBlock';
3
+ export * from './BaseRoundButton';
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function OutlineColor<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function Primary<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function SecondaryColor<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function SecondaryGray<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function SecondaryLight<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React, ElementType } from 'react';
2
+ import { BaseRoundButton } from '../components';
3
+ type PropsType<T extends ElementType> = React.ComponentProps<typeof BaseRoundButton<T>>;
4
+ export declare function Tooltip<T extends ElementType>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ export { Primary } from './Primary';
2
+ export { SecondaryColor } from './SecondaryColor';
3
+ export { SecondaryGray } from './SecondaryGray';
4
+ export { SecondaryLight } from './SecondaryLight';
5
+ export { OutlineColor } from './OutlineColor';
6
+ export { Tooltip } from './Tooltip';
@@ -0,0 +1 @@
1
+ export * from './RoundButton';
@@ -33,4 +33,6 @@ export * from './MediaViewerV2';
33
33
  export * from './datePickersV2';
34
34
  export * from './ToggleV2';
35
35
  export * from './TagV2';
36
+ export * from './RoundButton';
37
+ export * from './CheckboxV2';
36
38
  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.29",
14
+ "version": "1.1.31",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",