indicator-ui 1.1.31 → 1.1.33

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 (28) hide show
  1. package/dist/index.cjs +13 -13
  2. package/dist/index.js +7385 -7296
  3. package/dist/indicator-ui.css +1 -1
  4. package/dist/types/src/ui/RoundButton/ui/hierarchy/OutlineColor.d.ts +1 -1
  5. package/dist/types/src/ui/RoundButton/ui/hierarchy/Primary.d.ts +1 -1
  6. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryColor.d.ts +1 -1
  7. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryGray.d.ts +1 -1
  8. package/dist/types/src/ui/RoundButton/ui/hierarchy/SecondaryLight.d.ts +1 -1
  9. package/dist/types/src/ui/RoundButton/ui/hierarchy/Tooltip.d.ts +1 -1
  10. package/dist/types/src/ui/TooltipV2/context/index.d.ts +6 -0
  11. package/dist/types/src/ui/TooltipV2/hooks/index.d.ts +1 -0
  12. package/dist/types/src/ui/TooltipV2/hooks/useTooltipContext.d.ts +5 -0
  13. package/dist/types/src/ui/TooltipV2/index.d.ts +1 -0
  14. package/dist/types/src/ui/TooltipV2/styles/components/contentBlocks/index.d.ts +2 -0
  15. package/dist/types/src/ui/TooltipV2/styles/components/index.d.ts +2 -0
  16. package/dist/types/src/ui/TooltipV2/styles/index.d.ts +0 -0
  17. package/dist/types/src/ui/TooltipV2/ui/ContextProvider.d.ts +9 -0
  18. package/dist/types/src/ui/TooltipV2/ui/TooltipBase.d.ts +6 -0
  19. package/dist/types/src/ui/TooltipV2/ui/TooltipV2.d.ts +8 -0
  20. package/dist/types/src/ui/TooltipV2/ui/components/Shape.d.ts +3 -0
  21. package/dist/types/src/ui/TooltipV2/ui/components/Wrapper.d.ts +5 -0
  22. package/dist/types/src/ui/TooltipV2/ui/components/contentBlocks/Description.d.ts +4 -0
  23. package/dist/types/src/ui/TooltipV2/ui/components/contentBlocks/TipContent.d.ts +4 -0
  24. package/dist/types/src/ui/TooltipV2/ui/components/contentBlocks/index.d.ts +2 -0
  25. package/dist/types/src/ui/TooltipV2/ui/components/index.d.ts +2 -0
  26. package/dist/types/src/ui/TooltipV2/ui/index.d.ts +1 -0
  27. package/dist/types/src/ui/index.d.ts +1 -0
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function OutlineColor<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function Primary<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function SecondaryColor<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function SecondaryGray<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function SecondaryLight<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { default as React, ElementType } from 'react';
2
2
  import { BaseRoundButton } from '../components';
3
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;
4
+ export declare function Tooltip<T extends ElementType = 'button'>(props: PropsType<T>): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -0,0 +1,6 @@
1
+ export type TooltipV2ContextType = {
2
+ color?: 'dark' | 'light';
3
+ fixedWidth?: boolean;
4
+ shapePosition?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left' | 'right';
5
+ };
6
+ export declare const TooltipV2Context: import('react').Context<TooltipV2ContextType>;
@@ -0,0 +1 @@
1
+ export * from './useTooltipContext';
@@ -0,0 +1,5 @@
1
+ export declare function useTooltipContext(): {
2
+ color: NonNullable<"light" | "dark" | undefined>;
3
+ fixedWidth: NonNullable<boolean | undefined>;
4
+ shapePosition: "left" | "right" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined;
5
+ };
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,2 @@
1
+ export { default as TipContentStyle } from './TipContent.module.scss';
2
+ export { default as DescriptionStyle } from './Description.module.scss';
@@ -0,0 +1,2 @@
1
+ export { default as ShapeStyle } from './Shape.module.scss';
2
+ export { default as WrapperStyle } from './Wrapper.module.scss';
File without changes
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { TooltipV2Context, TooltipV2ContextType } from '../context';
3
+ type PropsType = Omit<React.ComponentProps<typeof TooltipV2Context.Provider>, 'value'> & {
4
+ color: TooltipV2ContextType['color'];
5
+ fixedWidth: TooltipV2ContextType['fixedWidth'];
6
+ shapePosition: TooltipV2ContextType['shapePosition'];
7
+ };
8
+ export declare function ContextProvider(props: PropsType): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { Wrapper } from './components';
3
+ import { ContextProvider } from './ContextProvider';
4
+ type PropsType = Partial<Pick<React.ComponentProps<typeof ContextProvider>, 'color' | 'fixedWidth' | 'shapePosition'>> & React.ComponentProps<typeof Wrapper>;
5
+ export declare function TooltipBase(props: PropsType): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Description, TipContent } from './components/contentBlocks';
2
+ import { TooltipBase } from './TooltipBase';
3
+ type TooltipV2Type = typeof TooltipBase & {
4
+ TipContent: typeof TipContent;
5
+ Description: typeof Description;
6
+ };
7
+ export declare const TooltipV2: TooltipV2Type;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ type PropsType = {};
2
+ export declare function Shape(props: PropsType): import("react/jsx-runtime").JSX.Element;
3
+ 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 Wrapper(props: PropsType): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type PropsType = React.ComponentProps<'section'>;
3
+ export declare function Description(props: PropsType): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ type PropsType = React.ComponentProps<'div'>;
3
+ export declare function TipContent(props: PropsType): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './TipContent';
2
+ export * from './Description';
@@ -0,0 +1,2 @@
1
+ export * from './Wrapper';
2
+ export * from './Shape';
@@ -0,0 +1 @@
1
+ export * from './TooltipV2';
@@ -33,6 +33,7 @@ export * from './MediaViewerV2';
33
33
  export * from './datePickersV2';
34
34
  export * from './ToggleV2';
35
35
  export * from './TagV2';
36
+ export * from './TooltipV2';
36
37
  export * from './RoundButton';
37
38
  export * from './CheckboxV2';
38
39
  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.31",
14
+ "version": "1.1.33",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",