indicator-ui 1.1.80 → 1.1.81

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.
@@ -1,3 +1,4 @@
1
1
  @import './primary-var.css';
2
2
  @import './secondary-var.css';
3
- @import './fonts.css';
3
+ @import './fonts.css';
4
+ @import './main-colors.css';
@@ -0,0 +1,37 @@
1
+ :root {
2
+ /*BACKGROUND COLOR*/
3
+ --background-primary: #FFFFFF;
4
+ --background-secondary: #F9FAFB;
5
+ --background-tretiary: #F2F4F7;
6
+ --background-quaternary: #EAECF0;
7
+
8
+ /*TEXT COLOR*/
9
+ --text-buttons: #FFFFFF;
10
+ --text-secondary: #344054;
11
+ --text-tretiary: #667085;
12
+ --text-quaternary: #98A2B3;
13
+
14
+ /*ICONS COLOR*/
15
+ --icons-light: #EAECF0;
16
+ --icons-white: #FFFFFF;
17
+ --icons-primary: #667085;
18
+ --icons-secondary: #98A2B3;
19
+ --icons-tretiary: #D0D5DD;
20
+ --icons-quaternary: #EAECF0;
21
+
22
+ /*BORDER COLOR*/
23
+ --border-primary: #D0D5DD;
24
+ --border-secondary: #EAECF0;
25
+ --border-tretiary: #F2F4F7;
26
+
27
+ /*ELEMENTS COLOR*/
28
+ --elements-modals: #FFFFFF;
29
+ --elements-input: #FFFFFF;
30
+ --elements-button: #FFFFFF;
31
+
32
+ /*TABS COLOR*/
33
+ --tabs-active: #FFFFFF;
34
+ --tabs-active-hover: #F9FAFB;
35
+ --tabs-default: #F2F4F7;
36
+ --tabs-default-hover: #EAECF0;
37
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './useTimeout';
2
+ export * from './useInterval';
2
3
  export * from './useDebounce';
3
4
  export * from './useRefAdapter';
4
5
  export * from './useElementsRefs';
@@ -0,0 +1,4 @@
1
+ type SetIntervalFn = (callback: () => void, delay?: number) => void;
2
+ type ClearIntervalFn = () => void;
3
+ export declare function useInterval(): [SetIntervalFn, ClearIntervalFn];
4
+ export {};
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare function useIsHover<T extends Element>(ref: React.RefObject<T | null>): boolean;
@@ -0,0 +1 @@
1
+ export * from './useProgressBar';
@@ -0,0 +1,10 @@
1
+ type PropsType = {
2
+ progress?: number;
3
+ isStoped: boolean;
4
+ };
5
+ export declare function useProgressBar(props: PropsType): {
6
+ type: import('../..').NotifyVariantType;
7
+ progress: number | undefined;
8
+ currentProgressInPercents: number;
9
+ };
10
+ export {};
@@ -1,5 +1,4 @@
1
- type PropsType = {
2
- progress?: number;
3
- };
1
+ import { useProgressBar } from '../hooks';
2
+ type PropsType = Parameters<typeof useProgressBar>[number];
4
3
  export declare function ProgressBar(props: PropsType): import("react/jsx-runtime").JSX.Element | undefined;
5
4
  export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.80",
14
+ "version": "1.1.81",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",