profinansy-ui-lib 2.0.34 → 2.0.36
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.
- package/dist/components/header/header.utils.d.ts +2 -2
- package/dist/components/uikit/Button/Button.const.d.ts +3 -3
- package/dist/components/uikit/Button/Button.typed.d.ts +1 -5
- package/dist/components/uikit/Checkbox/Checkbox.typed.d.ts +1 -4
- package/dist/components/uikit/CircleButton/CircleButton.const.d.ts +3 -3
- package/dist/components/uikit/CircleButton/CircleButton.typed.d.ts +1 -5
- package/dist/components/uikit/Loader/Loader.typed.d.ts +1 -6
- package/dist/components/uikit/Radio/Radio.typed.d.ts +1 -4
- package/dist/components/uikit/Switch/Switched.typed.d.ts +1 -4
- package/dist/index.d.ts +5 -5
- package/dist/index.js +77 -77
- package/package.json +1 -1
|
@@ -3,6 +3,6 @@ export declare const getTrial: (rights: Record<string, number | string>, purchas
|
|
|
3
3
|
isPossibleTrial: any;
|
|
4
4
|
};
|
|
5
5
|
export declare const getMainLinksColor: (isBlack: boolean, isActive: boolean) => "#6553F5" | "#898989" | "#C0C0C0" | "#756CBB";
|
|
6
|
-
export declare const getDropdownsLinksColor: (isBlack: boolean, isActive: boolean, isLocked: boolean) => "#
|
|
6
|
+
export declare const getDropdownsLinksColor: (isBlack: boolean, isActive: boolean, isLocked: boolean) => "#FFFFFF" | "#6553F5" | "#9B8EFF" | "#242424" | "#898989";
|
|
7
7
|
export declare const getDropdownsIconsColor: (isBlack: boolean, isActive: boolean) => "#6553F5" | "#9B8EFF" | "#A2A1A7";
|
|
8
|
-
export declare const getDropdownItemBackground: (isBlack: boolean, isOpen: boolean) => "
|
|
8
|
+
export declare const getDropdownItemBackground: (isBlack: boolean, isOpen: boolean) => "transparent" | "#fff" | "#2B2B2B" | "#f8f8f8";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const Size: {
|
|
2
|
-
|
|
2
|
+
L: {
|
|
3
3
|
fontWeight: number;
|
|
4
4
|
fontSize: string;
|
|
5
5
|
lineHeight: string;
|
|
6
6
|
height: string;
|
|
7
7
|
maxHeight: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
M: {
|
|
10
10
|
fontWeight: number;
|
|
11
11
|
fontSize: string;
|
|
12
12
|
lineHeight: string;
|
|
13
13
|
height: string;
|
|
14
14
|
maxHeight: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
S: {
|
|
17
17
|
fontWeight: number;
|
|
18
18
|
fontSize: string;
|
|
19
19
|
lineHeight: string;
|
|
@@ -8,11 +8,7 @@ export declare enum ButtonTheme {
|
|
|
8
8
|
Negative = "Negative",
|
|
9
9
|
Neutral = "Neutral"
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
L = "large",
|
|
13
|
-
M = "medium",
|
|
14
|
-
S = "small"
|
|
15
|
-
}
|
|
11
|
+
export type ButtonSize = 'L' | 'M' | 'S';
|
|
16
12
|
export interface IButton {
|
|
17
13
|
type?: 'submit' | 'button';
|
|
18
14
|
text?: string;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import CSS from 'csstype';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { IPopup } from '../Popup/Popup.typed';
|
|
4
|
-
export
|
|
5
|
-
regular = "regular",
|
|
6
|
-
compact = "compact"
|
|
7
|
-
}
|
|
4
|
+
export type SwitchSize = 'M' | 'S';
|
|
8
5
|
export interface ISwitch {
|
|
9
6
|
checked?: boolean;
|
|
10
7
|
text?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Header } from './components/header';
|
|
2
2
|
import { Footer } from './components/footer';
|
|
3
|
-
import {
|
|
4
|
-
import { Radio
|
|
3
|
+
import { Checkbox, CheckboxForm } from './components/uikit/Checkbox';
|
|
4
|
+
import { Radio } from './components/uikit/Radio';
|
|
5
5
|
import { Portal } from './components/uikit/Portal';
|
|
6
|
-
import { Loader
|
|
7
|
-
import { ButtonTheme,
|
|
6
|
+
import { Loader } from './components/uikit/Loader';
|
|
7
|
+
import { ButtonTheme, Button } from './components/uikit/Button';
|
|
8
8
|
import { TextButtonTheme, TextButton } from './components/uikit/TextButton';
|
|
9
9
|
import { RegexPattern, Input } from './components/uikit/Input';
|
|
10
10
|
import { ErrorText } from './components/uikit/ErrorText';
|
|
@@ -22,4 +22,4 @@ import { Popup } from './components/uikit/Popup/';
|
|
|
22
22
|
import { FieldRow } from './components/uikit/FieldRow';
|
|
23
23
|
import { Card } from './components/uikit/Card';
|
|
24
24
|
import { Switch } from './components/uikit/Switch';
|
|
25
|
-
export { Footer, Header, CheckboxForm,
|
|
25
|
+
export { Footer, Header, CheckboxForm, Checkbox, Radio, Portal, Loader, Button, ButtonTheme, TextButton, TextButtonTheme, RegexPattern, Input, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, Sidebar, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, FieldRow, Card, Switch };
|