@plurid/plurid-ui-components-react 0.0.0-3
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/LICENSE +6 -0
- package/LICENSE.deon +8 -0
- package/README.md +49 -0
- package/distribution/components/pluridal/index.d.ts +18 -0
- package/distribution/components/pluridal/notifications/Notification/index.d.ts +14 -0
- package/distribution/components/pluridal/notifications/Notification/styled.d.ts +7 -0
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +26 -0
- package/distribution/components/pluridal/notifications/Notifications/styled.d.ts +1 -0
- package/distribution/components/pluridal/notifications/index.d.ts +6 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/index.d.ts +13 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/styled.d.ts +1 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/index.d.ts +13 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/styled.d.ts +5 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/index.d.ts +6 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/styled.d.ts +7 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/index.d.ts +7 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/styled.d.ts +4 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateShareImage/index.d.ts +5 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateShareImage/styled.d.ts +4 -0
- package/distribution/components/pluridal/sitting/SittingTray/index.d.ts +14 -0
- package/distribution/components/pluridal/sitting/SittingTray/styled.d.ts +8 -0
- package/distribution/components/pluridal/sitting/index.d.ts +5 -0
- package/distribution/components/pluridal/toolbars/HorizontalToolbarButton/index.d.ts +14 -0
- package/distribution/components/pluridal/toolbars/HorizontalToolbarButton/styled.d.ts +11 -0
- package/distribution/components/pluridal/toolbars/ToolbarControls/index.d.ts +12 -0
- package/distribution/components/pluridal/toolbars/ToolbarControls/styled.d.ts +12 -0
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/index.d.ts +24 -0
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/styled.d.ts +2 -0
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/index.d.ts +21 -0
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/styled.d.ts +10 -0
- package/distribution/components/pluridal/toolbars/VerticalToolbarButton/index.d.ts +16 -0
- package/distribution/components/pluridal/toolbars/VerticalToolbarButton/styled.d.ts +13 -0
- package/distribution/components/pluridal/toolbars/index.d.ts +9 -0
- package/distribution/components/universal/buttons/LinkButton/index.d.ts +16 -0
- package/distribution/components/universal/buttons/LinkButton/styled.d.ts +10 -0
- package/distribution/components/universal/buttons/PureButton/index.d.ts +16 -0
- package/distribution/components/universal/buttons/PureButton/styled.d.ts +15 -0
- package/distribution/components/universal/buttons/RefreshButton/index.d.ts +12 -0
- package/distribution/components/universal/buttons/RefreshButton/styled.d.ts +6 -0
- package/distribution/components/universal/buttons/index.d.ts +7 -0
- package/distribution/components/universal/form/FormLeftRight/index.d.ts +14 -0
- package/distribution/components/universal/form/FormLeftRight/styled.d.ts +5 -0
- package/distribution/components/universal/form/FormObliterate/index.d.ts +18 -0
- package/distribution/components/universal/form/FormObliterate/styled.d.ts +8 -0
- package/distribution/components/universal/form/Formbutton/index.d.ts +28 -0
- package/distribution/components/universal/form/Formbutton/styled.d.ts +15 -0
- package/distribution/components/universal/form/Formitem/index.d.ts +15 -0
- package/distribution/components/universal/form/Formitem/styled.d.ts +6 -0
- package/distribution/components/universal/form/Formline/index.d.ts +20 -0
- package/distribution/components/universal/form/Formline/styled.d.ts +12 -0
- package/distribution/components/universal/form/index.d.ts +9 -0
- package/distribution/components/universal/general/GlobalStyles/index.d.ts +6 -0
- package/distribution/components/universal/general/index.d.ts +4 -0
- package/distribution/components/universal/index.d.ts +47 -0
- package/distribution/components/universal/inputs/Dropdown/index.d.ts +45 -0
- package/distribution/components/universal/inputs/Dropdown/styled.d.ts +8 -0
- package/distribution/components/universal/inputs/InputBox/index.d.ts +13 -0
- package/distribution/components/universal/inputs/InputBox/styled.d.ts +9 -0
- package/distribution/components/universal/inputs/InputDescriptor/index.d.ts +9 -0
- package/distribution/components/universal/inputs/InputDescriptor/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/InputLine/index.d.ts +17 -0
- package/distribution/components/universal/inputs/InputLine/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/InputSwitch/index.d.ts +10 -0
- package/distribution/components/universal/inputs/InputSwitch/styled.d.ts +4 -0
- package/distribution/components/universal/inputs/Itemsline/index.d.ts +18 -0
- package/distribution/components/universal/inputs/Itemsline/styled.d.ts +7 -0
- package/distribution/components/universal/inputs/Select/index.d.ts +23 -0
- package/distribution/components/universal/inputs/Select/styled.d.ts +1 -0
- package/distribution/components/universal/inputs/Slider/index.d.ts +19 -0
- package/distribution/components/universal/inputs/Slider/styled.d.ts +4 -0
- package/distribution/components/universal/inputs/Switch/index.d.ts +13 -0
- package/distribution/components/universal/inputs/Switch/styled.d.ts +2 -0
- package/distribution/components/universal/inputs/Textline/index.d.ts +60 -0
- package/distribution/components/universal/inputs/Textline/styled.d.ts +3 -0
- package/distribution/components/universal/inputs/index.d.ts +14 -0
- package/distribution/components/universal/markers/HR/index.d.ts +9 -0
- package/distribution/components/universal/markers/HR/styled.d.ts +5 -0
- package/distribution/components/universal/markers/ProgressCircle/index.d.ts +14 -0
- package/distribution/components/universal/markers/ProgressCircle/styled.d.ts +5 -0
- package/distribution/components/universal/markers/Spinner/index.d.ts +11 -0
- package/distribution/components/universal/markers/Spinner/styled.d.ts +8 -0
- package/distribution/components/universal/markers/Tooltip/index.d.ts +16 -0
- package/distribution/components/universal/markers/Tooltip/styled.d.ts +12 -0
- package/distribution/components/universal/markers/index.d.ts +8 -0
- package/distribution/components/universal/typography/Heading/index.d.ts +10 -0
- package/distribution/components/universal/typography/Heading/styled.d.ts +6 -0
- package/distribution/components/universal/typography/Paragraph/index.d.ts +11 -0
- package/distribution/components/universal/typography/Paragraph/styled.d.ts +8 -0
- package/distribution/components/universal/typography/index.d.ts +6 -0
- package/distribution/components/universal/varia/CopyableLine/index.d.ts +17 -0
- package/distribution/components/universal/varia/CopyableLine/styled.d.ts +2 -0
- package/distribution/components/universal/varia/NewPageLink/index.d.ts +14 -0
- package/distribution/components/universal/varia/NewPageLink/styled.d.ts +3 -0
- package/distribution/components/universal/varia/ScrollableLine/index.d.ts +14 -0
- package/distribution/components/universal/varia/ScrollableLine/styled.d.ts +3 -0
- package/distribution/components/universal/varia/TextItem/index.d.ts +9 -0
- package/distribution/components/universal/varia/TextItem/styled.d.ts +1 -0
- package/distribution/components/universal/varia/index.d.ts +8 -0
- package/distribution/data/enumerations/index.d.ts +13 -0
- package/distribution/data/interfaces/index.d.ts +17 -0
- package/distribution/index.d.ts +4 -0
- package/distribution/index.es.js +3440 -0
- package/distribution/index.es.js.map +1 -0
- package/distribution/index.js +3460 -0
- package/distribution/index.js.map +1 -0
- package/distribution/utilities/input/index.d.ts +4 -0
- package/package.json +108 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface FormitemProperties {
|
|
4
|
+
theme?: Theme;
|
|
5
|
+
level?: number;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders a form item.
|
|
11
|
+
*
|
|
12
|
+
* @param properties
|
|
13
|
+
*/
|
|
14
|
+
declare const Formitem: React.FC<FormitemProperties>;
|
|
15
|
+
export default Formitem;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface FormlineProperties {
|
|
4
|
+
text: string;
|
|
5
|
+
Element?: React.FC;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
level?: number;
|
|
8
|
+
responsive?: boolean;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders a descriptive text and a form element side by side.
|
|
14
|
+
*
|
|
15
|
+
* The form element can be passed as `Element` prop or as child.
|
|
16
|
+
*
|
|
17
|
+
* @param properties
|
|
18
|
+
*/
|
|
19
|
+
declare const Formline: React.FC<FormlineProperties>;
|
|
20
|
+
export default Formline;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledFormline {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
level: number;
|
|
5
|
+
responsive: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const StyledFormline: import("styled-components").StyledComponent<"div", any, IStyledFormline, never>;
|
|
8
|
+
export declare const StyledFormlineText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export interface IStyledFormlineElement {
|
|
10
|
+
responsive: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledFormlineElement: import("styled-components").StyledComponent<"div", any, IStyledFormlineElement, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const form: {
|
|
3
|
+
Formbutton: import("react").FC<import("./Formbutton").FormbuttonProperties>;
|
|
4
|
+
Formitem: import("react").FC<import("./Formitem").FormitemProperties>;
|
|
5
|
+
FormLeftRight: import("react").FC<import("./FormLeftRight").FormLeftRightProperties>;
|
|
6
|
+
Formline: import("react").FC<import("./Formline").FormlineProperties>;
|
|
7
|
+
FormObliterate: import("react").FC<import("./FormObliterate").FormObliterateProperties>;
|
|
8
|
+
};
|
|
9
|
+
export default form;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const universal: {
|
|
3
|
+
buttons: {
|
|
4
|
+
PureButton: import("react").FC<import("./buttons/PureButton").PureButtonProperties>;
|
|
5
|
+
LinkButton: import("react").FC<import("./buttons/LinkButton").LinkButtonProperties>;
|
|
6
|
+
RefreshButton: import("react").FC<import("./buttons/RefreshButton").RefreshButtonProperties>;
|
|
7
|
+
};
|
|
8
|
+
form: {
|
|
9
|
+
Formbutton: import("react").FC<import("./form/Formbutton").FormbuttonProperties>;
|
|
10
|
+
Formitem: import("react").FC<import("./form/Formitem").FormitemProperties>;
|
|
11
|
+
FormLeftRight: import("react").FC<import("./form/FormLeftRight").FormLeftRightProperties>;
|
|
12
|
+
Formline: import("react").FC<import("./form/Formline").FormlineProperties>;
|
|
13
|
+
FormObliterate: import("react").FC<import("./form/FormObliterate").FormObliterateProperties>;
|
|
14
|
+
};
|
|
15
|
+
general: {
|
|
16
|
+
GlobalStyles: import("styled-components").GlobalStyleComponent<import("./general/GlobalStyles").IGlobalStyles, import("styled-components").DefaultTheme>;
|
|
17
|
+
};
|
|
18
|
+
inputs: {
|
|
19
|
+
Dropdown: import("react").FC<import("./inputs/Dropdown").DropdownProperties>;
|
|
20
|
+
InputBox: import("react").FC<import("./inputs/InputBox").InputBoxProperties>;
|
|
21
|
+
InputDescriptor: import("react").FC<import("./inputs/InputDescriptor").InputDescriptorProperties>;
|
|
22
|
+
InputLine: import("react").FC<import("./inputs/InputLine").InputLineProperties>;
|
|
23
|
+
InputSwitch: import("react").FC<import("./inputs/InputSwitch").InputSwitchProperties>;
|
|
24
|
+
Itemsline: import("react").FC<import("./inputs/Itemsline").ItemslineProperties>;
|
|
25
|
+
Select: import("react").FC<import("./inputs/Select").PluridSelectProperties>;
|
|
26
|
+
Slider: import("react").FC<import("./inputs/Slider").SliderProperties>;
|
|
27
|
+
Switch: import("react").FC<import("./inputs/Switch").SwitchProperties>;
|
|
28
|
+
Textline: import("react").ForwardRefExoticComponent<import("./inputs/Textline").TextlineType>;
|
|
29
|
+
};
|
|
30
|
+
markers: {
|
|
31
|
+
HR: import("react").FC<import("./markers/HR").HRProperties>;
|
|
32
|
+
ProgressCircle: import("react").FC<import("./markers/ProgressCircle").ProgressCircleProperties>;
|
|
33
|
+
Spinner: import("react").FC<import("./markers/Spinner").SpinnerProperties>;
|
|
34
|
+
Tooltip: import("react").FC<import("./markers/Tooltip").TooltipProperties>;
|
|
35
|
+
};
|
|
36
|
+
typography: {
|
|
37
|
+
Heading: import("react").FC<import("react").PropsWithChildren<import("./typography/Heading").HeadingProperties>>;
|
|
38
|
+
Paragraph: import("react").FC<import("react").PropsWithChildren<import("./typography/Paragraph").ParagraphProperties>>;
|
|
39
|
+
};
|
|
40
|
+
varia: {
|
|
41
|
+
CopyableLine: import("react").FC<import("./varia/CopyableLine").CopyableLineProperties>;
|
|
42
|
+
NewPageLink: import("react").FC<import("./varia/NewPageLink").NewPageLinkProperties>;
|
|
43
|
+
ScrollableLine: import("react").FC<import("./varia/ScrollableLine").ScrollableLineProperties>;
|
|
44
|
+
TextItem: import("react").FC<import("./varia/TextItem").TextItemProperties>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default universal;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { PluridUIDropdownSelectable } from "../../../../data/interfaces";
|
|
4
|
+
export interface DropdownProperties {
|
|
5
|
+
selectables: (PluridUIDropdownSelectable | string)[];
|
|
6
|
+
selected: PluridUIDropdownSelectable | string;
|
|
7
|
+
atSelect: (selection: PluridUIDropdownSelectable | string, kind?: string) => void;
|
|
8
|
+
left?: boolean;
|
|
9
|
+
kind?: string;
|
|
10
|
+
dropdownToggled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Hide dropdown after click selection.
|
|
13
|
+
*
|
|
14
|
+
* Default `true`.
|
|
15
|
+
*/
|
|
16
|
+
hideAtSelect?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Run the `atSelect` function when hovering over a dropdown item.
|
|
19
|
+
*
|
|
20
|
+
* Default `true`.
|
|
21
|
+
*/
|
|
22
|
+
selectAtHover?: boolean;
|
|
23
|
+
selectedColor?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Inserts an input field to filter the selectables.
|
|
26
|
+
*/
|
|
27
|
+
filterable?: boolean;
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
className?: string;
|
|
30
|
+
theme?: Theme;
|
|
31
|
+
generalTheme?: Theme;
|
|
32
|
+
interactionTheme?: Theme;
|
|
33
|
+
level?: number;
|
|
34
|
+
devisible?: boolean;
|
|
35
|
+
round?: boolean;
|
|
36
|
+
width?: string | number;
|
|
37
|
+
/**
|
|
38
|
+
* The number of items determining the height;
|
|
39
|
+
*/
|
|
40
|
+
heightItems?: number;
|
|
41
|
+
setDropdownToggled?: any;
|
|
42
|
+
filterUpdate?: () => void;
|
|
43
|
+
}
|
|
44
|
+
declare const Dropdown: React.FC<DropdownProperties>;
|
|
45
|
+
export default Dropdown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const StyledDropdown: any;
|
|
2
|
+
export declare const StyledDropdownSelected: any;
|
|
3
|
+
export declare const StyledDropdownList: any;
|
|
4
|
+
export declare const StyledFilterable: any;
|
|
5
|
+
export interface IStyledFilterUpdate {
|
|
6
|
+
left?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const StyledFilterUpdate: any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface InputBoxProperties {
|
|
4
|
+
name: string;
|
|
5
|
+
text: string;
|
|
6
|
+
atChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
className?: string;
|
|
10
|
+
atKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const InputBox: React.FC<InputBoxProperties>;
|
|
13
|
+
export default InputBox;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledInputBox {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledInputBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export interface IStyledTextBox {
|
|
7
|
+
theme: Theme;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledTextBox: import("styled-components").StyledComponent<"div", any, IStyledTextBox, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface InputDescriptorProperties {
|
|
4
|
+
name: string;
|
|
5
|
+
show: boolean;
|
|
6
|
+
theme: Theme;
|
|
7
|
+
}
|
|
8
|
+
declare const InputDescriptor: React.FC<InputDescriptorProperties>;
|
|
9
|
+
export default InputDescriptor;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { TextlineProperties } from '../Textline';
|
|
4
|
+
export interface InputLineProperties {
|
|
5
|
+
name: string;
|
|
6
|
+
text: string;
|
|
7
|
+
atChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
theme?: Theme;
|
|
9
|
+
type?: 'text' | 'password';
|
|
10
|
+
error?: boolean;
|
|
11
|
+
textline?: Partial<TextlineProperties>;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
atKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const InputLine: React.FC<InputLineProperties>;
|
|
17
|
+
export default InputLine;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InputSwitchProperties {
|
|
3
|
+
name: string;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
theme: any;
|
|
6
|
+
atChange: () => void;
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const InputSwitch: React.FC<InputSwitchProperties>;
|
|
10
|
+
export default InputSwitch;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface ItemslineProperties {
|
|
4
|
+
items: string[];
|
|
5
|
+
removeItem: (item: string) => void;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
level?: number;
|
|
8
|
+
left?: boolean;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders an icon and a descriptive text.
|
|
14
|
+
*
|
|
15
|
+
* @param properties
|
|
16
|
+
*/
|
|
17
|
+
declare const Itemsline: React.FC<ItemslineProperties>;
|
|
18
|
+
export default Itemsline;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface PluridSelectProperties {
|
|
4
|
+
selectables: string[];
|
|
5
|
+
atChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
level?: number;
|
|
8
|
+
devisible?: boolean;
|
|
9
|
+
round?: boolean;
|
|
10
|
+
width?: string | number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @param selectables `string[]`
|
|
14
|
+
* @param atChange `(event: React.ChangeEvent<HTMLInputElement>) => void`
|
|
15
|
+
*
|
|
16
|
+
* @param theme optional - `Theme`
|
|
17
|
+
* @param level optional - `number`
|
|
18
|
+
* @param devisible optional - `boolean`
|
|
19
|
+
* @param round optional - `boolean`
|
|
20
|
+
* @param width optional - `string | number`
|
|
21
|
+
*/
|
|
22
|
+
declare const PluridSelect: React.FC<PluridSelectProperties>;
|
|
23
|
+
export default PluridSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSelect: any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface SliderProperties {
|
|
4
|
+
value: number;
|
|
5
|
+
atChange: (value: number) => void;
|
|
6
|
+
defaultValue?: number;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
name?: string;
|
|
11
|
+
theme?: Theme;
|
|
12
|
+
level?: number;
|
|
13
|
+
thumbSize?: 'small' | 'normal' | 'large';
|
|
14
|
+
width?: number | string;
|
|
15
|
+
valueSign?: string;
|
|
16
|
+
namedValueAbove?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const Slider: React.FC<SliderProperties>;
|
|
19
|
+
export default Slider;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface SwitchProperties {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
theme?: Theme;
|
|
6
|
+
level?: number;
|
|
7
|
+
round?: boolean;
|
|
8
|
+
exclusive?: boolean;
|
|
9
|
+
accent?: string;
|
|
10
|
+
atChange: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const Switch: React.FC<SwitchProperties>;
|
|
13
|
+
export default Switch;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface TextlineProperties {
|
|
4
|
+
text: string;
|
|
5
|
+
atChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
atKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
7
|
+
atFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8
|
+
atBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
9
|
+
type?: 'text' | 'password' | 'number';
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
autoCapitalize?: string;
|
|
12
|
+
autoComplete?: string;
|
|
13
|
+
autoCorrect?: string;
|
|
14
|
+
spellCheck?: boolean;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
className?: string;
|
|
17
|
+
theme?: Theme;
|
|
18
|
+
level?: number;
|
|
19
|
+
devisible?: boolean;
|
|
20
|
+
center?: boolean;
|
|
21
|
+
round?: boolean;
|
|
22
|
+
width?: string | number;
|
|
23
|
+
error?: boolean;
|
|
24
|
+
enterIconLeft?: boolean;
|
|
25
|
+
enterAtClick?: () => void;
|
|
26
|
+
escapeClear?: boolean;
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare type TextlineType = TextlineProperties & React.RefAttributes<any>;
|
|
30
|
+
/**
|
|
31
|
+
* @param text `string`
|
|
32
|
+
* @param atChange `(event: React.ChangeEvent<HTMLInputElement>) => void`
|
|
33
|
+
* @param atKeyDown `(event: React.KeyboardEvent<HTMLInputElement>) => void`
|
|
34
|
+
* @param atFocus `(event: React.FocusEvent<HTMLInputElement>) => void`
|
|
35
|
+
* @param atBlur `(event: React.FocusEvent<HTMLInputElement>) => void`
|
|
36
|
+
*
|
|
37
|
+
* @param type optional - `'text' | 'password'`
|
|
38
|
+
* @param placeholder optional - `string`
|
|
39
|
+
* @param autoCapitalize optional - `string`
|
|
40
|
+
* @param autoComplete optional - `string`
|
|
41
|
+
* @param autoCorrect optional - `string`
|
|
42
|
+
* @param spellCheck optional - `boolean`
|
|
43
|
+
* @param style optional - `React.CSSProperties`
|
|
44
|
+
*
|
|
45
|
+
* @param theme optional - `Theme`
|
|
46
|
+
* @param level optional - `number`
|
|
47
|
+
* @param devisible optional - `boolean`
|
|
48
|
+
* @param center optional - `boolean`
|
|
49
|
+
* @param round optional - `boolean`
|
|
50
|
+
* @param width optional - `string | number`
|
|
51
|
+
* @param error optional - `boolean`
|
|
52
|
+
*
|
|
53
|
+
* @param enterIconLeft optional - `boolean`
|
|
54
|
+
* @param enterAtClick optional - `() => void`
|
|
55
|
+
* @param escapeClear optional - `boolean`
|
|
56
|
+
*
|
|
57
|
+
* @param ariaLabel optiona - `boolean`
|
|
58
|
+
*/
|
|
59
|
+
declare const Textline: React.ForwardRefExoticComponent<TextlineType>;
|
|
60
|
+
export default Textline;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const inputs: {
|
|
3
|
+
Dropdown: import("react").FC<import("./Dropdown").DropdownProperties>;
|
|
4
|
+
InputBox: import("react").FC<import("./InputBox").InputBoxProperties>;
|
|
5
|
+
InputDescriptor: import("react").FC<import("./InputDescriptor").InputDescriptorProperties>;
|
|
6
|
+
InputLine: import("react").FC<import("./InputLine").InputLineProperties>;
|
|
7
|
+
InputSwitch: import("react").FC<import("./InputSwitch").InputSwitchProperties>;
|
|
8
|
+
Itemsline: import("react").FC<import("./Itemsline").ItemslineProperties>;
|
|
9
|
+
Select: import("react").FC<import("./Select").PluridSelectProperties>;
|
|
10
|
+
Slider: import("react").FC<import("./Slider").SliderProperties>;
|
|
11
|
+
Switch: import("react").FC<import("./Switch").SwitchProperties>;
|
|
12
|
+
Textline: import("react").ForwardRefExoticComponent<import("./Textline").TextlineType>;
|
|
13
|
+
};
|
|
14
|
+
export default inputs;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { Sizes } from "../../../../data/interfaces";
|
|
4
|
+
export interface ProgressCircleProperties {
|
|
5
|
+
progress: number;
|
|
6
|
+
size?: Sizes;
|
|
7
|
+
radius?: number;
|
|
8
|
+
stroke?: number;
|
|
9
|
+
theme?: Theme;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const ProgressCircle: React.FC<ProgressCircleProperties>;
|
|
14
|
+
export default ProgressCircle;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { Sizes } from "../../../../data/interfaces";
|
|
4
|
+
export interface SpinnerProperties {
|
|
5
|
+
theme?: Theme;
|
|
6
|
+
size?: Sizes;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Spinner: React.FC<SpinnerProperties>;
|
|
11
|
+
export default Spinner;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
import { Sizes } from "../../../../data/interfaces";
|
|
3
|
+
export declare const StyledSpinner: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export interface IStyledLoader {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
size: Sizes;
|
|
7
|
+
}
|
|
8
|
+
export declare const StyledLoader: import("styled-components").StyledComponent<"div", any, IStyledLoader, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface TooltipProperties {
|
|
4
|
+
tool: string | React.FC<any>;
|
|
5
|
+
tip: string | React.FC<any>;
|
|
6
|
+
indicator?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Render the `tool` as a circle.
|
|
9
|
+
*/
|
|
10
|
+
icon?: boolean;
|
|
11
|
+
theme?: Theme;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const Tooltip: React.FC<TooltipProperties>;
|
|
16
|
+
export default Tooltip;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledTooltip {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledTooltip: import("styled-components").StyledComponent<"span", any, IStyledTooltip, never>;
|
|
6
|
+
export declare const StyledTooltipString: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
7
|
+
export declare const StyledTooltipIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
8
|
+
export interface IStyledTooltipText {
|
|
9
|
+
theme: Theme;
|
|
10
|
+
indicator: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledTooltipText: import("styled-components").StyledComponent<"div", any, IStyledTooltipText, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const markers: {
|
|
3
|
+
HR: import("react").FC<import("./HR").HRProperties>;
|
|
4
|
+
ProgressCircle: import("react").FC<import("./ProgressCircle").ProgressCircleProperties>;
|
|
5
|
+
Spinner: import("react").FC<import("./Spinner").SpinnerProperties>;
|
|
6
|
+
Tooltip: import("react").FC<import("./Tooltip").TooltipProperties>;
|
|
7
|
+
};
|
|
8
|
+
export default markers;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface HeadingProperties {
|
|
4
|
+
theme?: Theme;
|
|
5
|
+
type?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Heading: React.FC<React.PropsWithChildren<HeadingProperties>>;
|
|
10
|
+
export default Heading;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface ParagraphProperties {
|
|
4
|
+
theme?: Theme;
|
|
5
|
+
size?: 'small' | 'normal' | 'large';
|
|
6
|
+
fontFamily?: 'sans-serif' | 'serif';
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Paragraph: React.FC<React.PropsWithChildren<ParagraphProperties>>;
|
|
11
|
+
export default Paragraph;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const typography: {
|
|
3
|
+
Heading: import("react").FC<import("react").PropsWithChildren<import("./Heading").HeadingProperties>>;
|
|
4
|
+
Paragraph: import("react").FC<import("react").PropsWithChildren<import("./Paragraph").ParagraphProperties>>;
|
|
5
|
+
};
|
|
6
|
+
export default typography;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CopyableLineProperties {
|
|
3
|
+
/**
|
|
4
|
+
* Data to be copied.
|
|
5
|
+
*/
|
|
6
|
+
data: string;
|
|
7
|
+
/**
|
|
8
|
+
* Data to be shown.
|
|
9
|
+
*/
|
|
10
|
+
viewData?: string;
|
|
11
|
+
copyMessage?: string;
|
|
12
|
+
copyMessageTime?: number;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const CopyableLine: React.FC<CopyableLineProperties>;
|
|
17
|
+
export default CopyableLine;
|