indicator-ui 1.1.77 → 1.1.78

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 (57) hide show
  1. package/dist/index.cjs +7 -7
  2. package/dist/index.js +9018 -8816
  3. package/dist/indicator-ui.css +1 -1
  4. package/dist/types/src/ui/Notify/DismissButton/index.d.ts +1 -0
  5. package/dist/types/src/ui/Notify/DismissButton/styles/index.d.ts +1 -0
  6. package/dist/types/src/ui/Notify/DismissButton/ui/DismissButton.d.ts +3 -0
  7. package/dist/types/src/ui/Notify/DismissButton/ui/index.d.ts +1 -0
  8. package/dist/types/src/ui/Notify/Icon/index.d.ts +1 -0
  9. package/dist/types/src/ui/Notify/Icon/styles/index.d.ts +1 -0
  10. package/dist/types/src/ui/Notify/Icon/ui/Icon.d.ts +3 -0
  11. package/dist/types/src/ui/Notify/Icon/ui/index.d.ts +1 -0
  12. package/dist/types/src/ui/Notify/Notify/index.d.ts +1 -0
  13. package/dist/types/src/ui/Notify/Notify/ui/Notify.d.ts +7 -0
  14. package/dist/types/src/ui/Notify/Notify/ui/NotifyRoot.d.ts +6 -0
  15. package/dist/types/src/ui/Notify/Notify/ui/index.d.ts +1 -0
  16. package/dist/types/src/ui/Notify/NotifyActions/CloseButton/index.d.ts +1 -0
  17. package/dist/types/src/ui/Notify/NotifyActions/CloseButton/ui/CloseButton.d.ts +5 -0
  18. package/dist/types/src/ui/Notify/NotifyActions/CloseButton/ui/index.d.ts +1 -0
  19. package/dist/types/src/ui/Notify/NotifyActions/MainButton/index.d.ts +1 -0
  20. package/dist/types/src/ui/Notify/NotifyActions/MainButton/styles/index.d.ts +1 -0
  21. package/dist/types/src/ui/Notify/NotifyActions/MainButton/ui/MainButton.d.ts +4 -0
  22. package/dist/types/src/ui/Notify/NotifyActions/MainButton/ui/index.d.ts +1 -0
  23. package/dist/types/src/ui/Notify/NotifyActions/NotifyActions/index.d.ts +1 -0
  24. package/dist/types/src/ui/Notify/NotifyActions/NotifyActions/styles/index.d.ts +1 -0
  25. package/dist/types/src/ui/Notify/NotifyActions/NotifyActions/ui/NotifyActions.d.ts +14 -0
  26. package/dist/types/src/ui/Notify/NotifyActions/NotifyActions/ui/index.d.ts +1 -0
  27. package/dist/types/src/ui/Notify/NotifyActions/index.d.ts +1 -0
  28. package/dist/types/src/ui/Notify/NotifyBase/index.d.ts +1 -0
  29. package/dist/types/src/ui/Notify/NotifyBase/ui/NotifyBase.d.ts +9 -0
  30. package/dist/types/src/ui/Notify/NotifyBase/ui/index.d.ts +1 -0
  31. package/dist/types/src/ui/Notify/NotifyContent/index.d.ts +1 -0
  32. package/dist/types/src/ui/Notify/NotifyContent/styles/index.d.ts +1 -0
  33. package/dist/types/src/ui/Notify/NotifyContent/ui/NotifyContent.d.ts +6 -0
  34. package/dist/types/src/ui/Notify/NotifyContent/ui/index.d.ts +1 -0
  35. package/dist/types/src/ui/Notify/NotifyInfo/index.d.ts +1 -0
  36. package/dist/types/src/ui/Notify/NotifyInfo/styles/index.d.ts +1 -0
  37. package/dist/types/src/ui/Notify/NotifyInfo/ui/NotifyInfo.d.ts +4 -0
  38. package/dist/types/src/ui/Notify/NotifyInfo/ui/index.d.ts +1 -0
  39. package/dist/types/src/ui/Notify/ProgressBar/index.d.ts +1 -0
  40. package/dist/types/src/ui/Notify/ProgressBar/styles/index.d.ts +1 -0
  41. package/dist/types/src/ui/Notify/ProgressBar/ui/ProgressBar.d.ts +5 -0
  42. package/dist/types/src/ui/Notify/ProgressBar/ui/index.d.ts +1 -0
  43. package/dist/types/src/ui/Notify/Wrapper/index.d.ts +1 -0
  44. package/dist/types/src/ui/Notify/Wrapper/style/index.d.ts +1 -0
  45. package/dist/types/src/ui/Notify/Wrapper/ui/Wrapper.d.ts +5 -0
  46. package/dist/types/src/ui/Notify/Wrapper/ui/index.d.ts +1 -0
  47. package/dist/types/src/ui/Notify/common/hooks/index.d.ts +1 -0
  48. package/dist/types/src/ui/Notify/common/hooks/useNotifyContextAdapter.d.ts +1 -0
  49. package/dist/types/src/ui/Notify/common/index.d.ts +4 -0
  50. package/dist/types/src/ui/Notify/common/model/context.d.ts +6 -0
  51. package/dist/types/src/ui/Notify/common/model/index.d.ts +1 -0
  52. package/dist/types/src/ui/Notify/common/types/index.d.ts +1 -0
  53. package/dist/types/src/ui/Notify/common/ui/NotifyContextProvider.d.ts +7 -0
  54. package/dist/types/src/ui/Notify/common/ui/index.d.ts +1 -0
  55. package/dist/types/src/ui/Notify/index.d.ts +2 -0
  56. package/dist/types/src/ui/index.d.ts +1 -0
  57. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as DismissButtonStyle } from './DismissButton.module.scss';
@@ -0,0 +1,3 @@
1
+ type PropsType = {};
2
+ export declare function DismissButton(props: PropsType): import("react/jsx-runtime").JSX.Element;
3
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DismissButton';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as IconContainerStyle } from './IconContainer.module.scss';
@@ -0,0 +1,3 @@
1
+ type PropsType = {};
2
+ export declare function Icon(props: PropsType): import("react/jsx-runtime").JSX.Element;
3
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Icon';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,7 @@
1
+ import { NotifyActions } from '../../NotifyActions';
2
+ import { NotifyRoot } from './NotifyRoot';
3
+ type NotifyType = typeof NotifyRoot & {
4
+ Actions: typeof NotifyActions;
5
+ };
6
+ export declare const Notify: NotifyType;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { NotifyBase } from '../../NotifyBase';
3
+ import { NotifyContextType } from '../../common';
4
+ type PropsType = Omit<React.ComponentProps<typeof NotifyBase>, keyof NotifyContextType> & Pick<NotifyContextType, 'onClose' | "type">;
5
+ export declare function NotifyRoot(props: PropsType): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Notify';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { Button } from '../../../../Buttons';
3
+ type PropsType = Omit<React.ComponentProps<typeof Button<'button'>>, 'width' | 'size' | 'warning' | 'hierarchy'>;
4
+ export declare const CloseButton: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ export * from './CloseButton';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as MainButtonStyle } from './MainButton.module.scss';
@@ -0,0 +1,4 @@
1
+ import { Button } from '../../../../Buttons';
2
+ type PropsType = Omit<React.ComponentProps<typeof Button<'button'>>, 'width' | 'size' | 'warning' | 'hierarchy'>;
3
+ export declare const MainButton: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1 @@
1
+ export * from './MainButton';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as NotifyActionsStyle } from './NotifyActions.module.scss';
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { PropsFor } from '../../../../../types';
3
+ import { CloseButton } from '../../CloseButton';
4
+ import { MainButton } from '../../MainButton';
5
+ type PropsType = PropsFor<'div'> & {
6
+ children?: ReactNode;
7
+ };
8
+ type NotifyActionsType = typeof NotifyActionsRoot & {
9
+ Close: typeof CloseButton;
10
+ Main: typeof MainButton;
11
+ };
12
+ declare function NotifyActionsRoot(props: PropsType): import("react/jsx-runtime").JSX.Element;
13
+ export declare const NotifyActions: NotifyActionsType;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NotifyActions';
@@ -0,0 +1 @@
1
+ export * from './NotifyActions';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { NotifyContent } from '../../NotifyContent';
3
+ import { ProgressBar } from '../../ProgressBar';
4
+ import { Wrapper } from '../../Wrapper';
5
+ type PropsType = React.ComponentProps<typeof Wrapper> & Pick<React.ComponentProps<typeof NotifyContent>, 'title' | 'description'> & Pick<React.ComponentProps<typeof ProgressBar>, 'progress'> & {
6
+ progress?: number;
7
+ };
8
+ export declare function NotifyBase(props: PropsType): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NotifyBase';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as NotifyContentStyle } from './NotifyContent.module.scss';
@@ -0,0 +1,6 @@
1
+ type PropsType = {
2
+ title: string;
3
+ description?: string;
4
+ };
5
+ export declare function NotifyContent(props: PropsType): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NotifyContent';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as NotifyInfoStyle } from './NotifyInfo.module.scss';
@@ -0,0 +1,4 @@
1
+ import { PropsFor } from '../../../../types';
2
+ type PropsType = PropsFor<'div'>;
3
+ export declare function NotifyInfo(props: PropsType): import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NotifyInfo';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as ProgressBarStyle } from './ProgressBar.module.scss';
@@ -0,0 +1,5 @@
1
+ type PropsType = {
2
+ progress?: number;
3
+ };
4
+ export declare function ProgressBar(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
5
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ProgressBar';
@@ -0,0 +1 @@
1
+ export * from './ui';
@@ -0,0 +1 @@
1
+ export { default as WrapperStyle } from './Wrapper.module.scss';
@@ -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 @@
1
+ export * from './Wrapper';
@@ -0,0 +1 @@
1
+ export * from './useNotifyContextAdapter';
@@ -0,0 +1 @@
1
+ export declare function useNotifyContextAdapter(): import('..').NotifyContextType;
@@ -0,0 +1,4 @@
1
+ export * from './hooks';
2
+ export * from './ui';
3
+ export * from './types';
4
+ export * from './model';
@@ -0,0 +1,6 @@
1
+ import { Type } from '../types';
2
+ export type NotifyContextType = {
3
+ type: Type;
4
+ onClose: () => void;
5
+ };
6
+ export declare const NotifyContext: import('react').Context<NotifyContextType | null>;
@@ -0,0 +1 @@
1
+ export * from './context';
@@ -0,0 +1 @@
1
+ export type Type = 'info' | 'success' | 'warning' | 'error';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { NotifyContextType } from '../model';
3
+ type PropsType = NotifyContextType & {
4
+ children?: React.ReactNode;
5
+ };
6
+ export declare function NotifyContextProvider(props: PropsType): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NotifyContextProvider';
@@ -0,0 +1,2 @@
1
+ export * from './Notify';
2
+ export type { Type as NotifyVariantType } from './common';
@@ -37,4 +37,5 @@ export * from './TooltipV2';
37
37
  export * from './RoundButton';
38
38
  export * from './CheckboxV2';
39
39
  export * from './TabV2';
40
+ export * from './Notify';
40
41
  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.77",
14
+ "version": "1.1.78",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",