@plurid/plurid-ui-components-react 0.0.0-1 → 0.0.0-12
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/distribution/components/pluridal/index.d.ts +1 -1
- package/distribution/components/pluridal/notifications/Notification/index.d.ts +1 -1
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +1 -1
- package/distribution/components/pluridal/notifications/index.d.ts +1 -1
- package/distribution/components/pluridal/toolbars/ToolbarControls/index.d.ts +1 -0
- package/distribution/components/pluridal/toolbars/ToolbarControls/styled.d.ts +1 -1
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/index.d.ts +1 -0
- package/distribution/components/universal/form/FormLeftRight/index.d.ts +1 -0
- package/distribution/components/universal/form/Formitem/index.d.ts +1 -0
- package/distribution/components/universal/form/Formline/index.d.ts +1 -0
- package/distribution/components/universal/index.d.ts +3 -0
- package/distribution/components/universal/inputs/EntityPill/index.d.ts +11 -0
- package/distribution/components/universal/inputs/EntityPill/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/EntityPillGroup/index.d.ts +13 -0
- package/distribution/components/universal/inputs/EntityPillGroup/styled.d.ts +5 -0
- package/distribution/components/universal/inputs/InputDescriptor/index.d.ts +3 -1
- package/distribution/components/universal/inputs/InputSwitch/index.d.ts +4 -1
- package/distribution/components/universal/inputs/Switch/index.d.ts +1 -0
- package/distribution/components/universal/inputs/Switch/styled.d.ts +1 -0
- package/distribution/components/universal/inputs/Textline/index.d.ts +2 -0
- package/distribution/components/universal/inputs/index.d.ts +2 -0
- package/distribution/components/universal/markers/Spinner/index.d.ts +2 -0
- package/distribution/components/universal/varia/CopyableLine/index.d.ts +12 -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 +0 -3
- package/distribution/components/universal/varia/ScrollableLine/styled.d.ts +0 -3
- package/distribution/components/universal/varia/index.d.ts +1 -0
- package/distribution/data/interfaces/index.d.ts +4 -0
- package/distribution/index.d.ts +1 -2
- package/distribution/index.es.js +2713 -3242
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +2731 -3252
- package/distribution/index.js.map +1 -1
- package/package.json +39 -35
- package/distribution/data/constants/index.d.ts +0 -8
- package/distribution/utilities/react/index.d.ts +0 -10
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
declare const pluridal: {
|
|
3
3
|
notifications: {
|
|
4
4
|
Notification: import("react").FC<import("./notifications/Notification").NotificationOwnProperties>;
|
|
5
|
-
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./notifications/Notifications").NotificationsProperties>,
|
|
5
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./notifications/Notifications").NotificationsProperties>, Omit<import("./notifications/Notifications").NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & import("./notifications/Notifications").NotificationsOwnProperties & import("react-redux").ConnectProps>;
|
|
6
6
|
};
|
|
7
7
|
sitting: {
|
|
8
8
|
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./sitting/SittingTray").SittingTrayProperties>, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { notifications } from '@plurid/plurid-ui-state-react';
|
|
3
2
|
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { notifications } from '@plurid/plurid-ui-state-react';
|
|
4
4
|
export interface NotificationOwnProperties {
|
|
5
5
|
data: notifications.Types.Notification;
|
|
6
6
|
theme: Theme;
|
|
@@ -22,5 +22,5 @@ export interface NotificationsDispatchProperties {
|
|
|
22
22
|
dispatchRemoveNotification: typeof notificationsStateService.actions.removeNotification;
|
|
23
23
|
}
|
|
24
24
|
export declare type NotificationsProperties = NotificationsOwnProperties & NotificationsStateProperties & NotificationsDispatchProperties;
|
|
25
|
-
declare const ConnectedNotifications: import("react-redux").ConnectedComponent<React.FC<NotificationsProperties>,
|
|
25
|
+
declare const ConnectedNotifications: import("react-redux").ConnectedComponent<React.FC<NotificationsProperties>, Omit<NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & NotificationsOwnProperties & import("react-redux").ConnectProps>;
|
|
26
26
|
export default ConnectedNotifications;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const notifications: {
|
|
3
3
|
Notification: import("react").FC<import("./Notification").NotificationOwnProperties>;
|
|
4
|
-
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./Notifications").NotificationsProperties>,
|
|
4
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./Notifications").NotificationsProperties>, Omit<import("./Notifications").NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & import("./Notifications").NotificationsOwnProperties & import("react-redux").ConnectProps>;
|
|
5
5
|
};
|
|
6
6
|
export default notifications;
|
|
@@ -6,6 +6,7 @@ export interface ToolbarControlsOwnProperties {
|
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
className?: string;
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
}
|
|
10
11
|
export declare type ToolbarControlsProperties = ToolbarControlsOwnProperties;
|
|
11
12
|
declare const ToolbarControls: React.FC<ToolbarControlsProperties>;
|
|
@@ -17,6 +17,8 @@ declare const universal: {
|
|
|
17
17
|
};
|
|
18
18
|
inputs: {
|
|
19
19
|
Dropdown: import("react").FC<import("./inputs/Dropdown").DropdownProperties>;
|
|
20
|
+
EntityPill: import("react").FC<import("./inputs/EntityPill").EntityPillProperties>;
|
|
21
|
+
EntityPillGroup: import("react").FC<import("./inputs/EntityPillGroup").EntityPillGroupProperties>;
|
|
20
22
|
InputBox: import("react").FC<import("./inputs/InputBox").InputBoxProperties>;
|
|
21
23
|
InputDescriptor: import("react").FC<import("./inputs/InputDescriptor").InputDescriptorProperties>;
|
|
22
24
|
InputLine: import("react").FC<import("./inputs/InputLine").InputLineProperties>;
|
|
@@ -39,6 +41,7 @@ declare const universal: {
|
|
|
39
41
|
};
|
|
40
42
|
varia: {
|
|
41
43
|
CopyableLine: import("react").FC<import("./varia/CopyableLine").CopyableLineProperties>;
|
|
44
|
+
NewPageLink: import("react").FC<import("./varia/NewPageLink").NewPageLinkProperties>;
|
|
42
45
|
ScrollableLine: import("react").FC<import("./varia/ScrollableLine").ScrollableLineProperties>;
|
|
43
46
|
TextItem: import("react").FC<import("./varia/TextItem").TextItemProperties>;
|
|
44
47
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface EntityPillProperties {
|
|
4
|
+
id: string;
|
|
5
|
+
remove: (id: string) => void;
|
|
6
|
+
text?: string;
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
declare const EntityPill: React.FC<EntityPillProperties>;
|
|
11
|
+
export default EntityPill;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { PluridUIEntityPillData } from "../../../../data/interfaces";
|
|
4
|
+
export interface EntityPillGroupProperties {
|
|
5
|
+
entities: (string | PluridUIEntityPillData)[];
|
|
6
|
+
remove: (id: string) => void;
|
|
7
|
+
keyFix?: string;
|
|
8
|
+
theme?: Theme;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
pillStyle?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const EntityPillGroup: React.FC<EntityPillGroupProperties>;
|
|
13
|
+
export default EntityPillGroup;
|
|
@@ -3,7 +3,9 @@ import { Theme } from '@plurid/plurid-themes';
|
|
|
3
3
|
export interface InputDescriptorProperties {
|
|
4
4
|
name: string;
|
|
5
5
|
show: boolean;
|
|
6
|
-
theme
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
7
9
|
}
|
|
8
10
|
declare const InputDescriptor: React.FC<InputDescriptorProperties>;
|
|
9
11
|
export default InputDescriptor;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
3
|
export interface InputSwitchProperties {
|
|
3
4
|
name: string;
|
|
4
5
|
checked: boolean;
|
|
5
|
-
theme: any;
|
|
6
6
|
atChange: () => void;
|
|
7
|
+
theme?: Theme;
|
|
7
8
|
compact?: boolean;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
8
11
|
}
|
|
9
12
|
declare const InputSwitch: React.FC<InputSwitchProperties>;
|
|
10
13
|
export default InputSwitch;
|
|
@@ -22,6 +22,7 @@ export interface TextlineProperties {
|
|
|
22
22
|
width?: string | number;
|
|
23
23
|
error?: boolean;
|
|
24
24
|
enterIconLeft?: boolean;
|
|
25
|
+
enterEmpty?: boolean;
|
|
25
26
|
enterAtClick?: () => void;
|
|
26
27
|
escapeClear?: boolean;
|
|
27
28
|
ariaLabel?: string;
|
|
@@ -51,6 +52,7 @@ export declare type TextlineType = TextlineProperties & React.RefAttributes<any>
|
|
|
51
52
|
* @param error optional - `boolean`
|
|
52
53
|
*
|
|
53
54
|
* @param enterIconLeft optional - `boolean`
|
|
55
|
+
* @param enterEmpty optional - `boolean`
|
|
54
56
|
* @param enterAtClick optional - `() => void`
|
|
55
57
|
* @param escapeClear optional - `boolean`
|
|
56
58
|
*
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const inputs: {
|
|
3
3
|
Dropdown: import("react").FC<import("./Dropdown").DropdownProperties>;
|
|
4
|
+
EntityPill: import("react").FC<import("./EntityPill").EntityPillProperties>;
|
|
5
|
+
EntityPillGroup: import("react").FC<import("./EntityPillGroup").EntityPillGroupProperties>;
|
|
4
6
|
InputBox: import("react").FC<import("./InputBox").InputBoxProperties>;
|
|
5
7
|
InputDescriptor: import("react").FC<import("./InputDescriptor").InputDescriptorProperties>;
|
|
6
8
|
InputLine: import("react").FC<import("./InputLine").InputLineProperties>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
3
|
export interface CopyableLineProperties {
|
|
4
|
+
/**
|
|
5
|
+
* Data to be copied.
|
|
6
|
+
*/
|
|
3
7
|
data: string;
|
|
8
|
+
/**
|
|
9
|
+
* Data to be shown.
|
|
10
|
+
*/
|
|
11
|
+
theme?: Theme;
|
|
4
12
|
viewData?: string;
|
|
13
|
+
copyMessage?: string;
|
|
14
|
+
copyMessageTime?: number;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
className?: string;
|
|
5
17
|
}
|
|
6
18
|
declare const CopyableLine: React.FC<CopyableLineProperties>;
|
|
7
19
|
export default CopyableLine;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface NewPageLinkProperties {
|
|
3
|
+
link: string;
|
|
4
|
+
text: string | JSX.Element;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Opens the `link` in new page/tab.
|
|
10
|
+
*
|
|
11
|
+
* @param properties
|
|
12
|
+
*/
|
|
13
|
+
declare const NewPageLink: React.FC<NewPageLinkProperties>;
|
|
14
|
+
export default NewPageLink;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const varia: {
|
|
3
3
|
CopyableLine: import("react").FC<import("./CopyableLine").CopyableLineProperties>;
|
|
4
|
+
NewPageLink: import("react").FC<import("./NewPageLink").NewPageLinkProperties>;
|
|
4
5
|
ScrollableLine: import("react").FC<import("./ScrollableLine").ScrollableLineProperties>;
|
|
5
6
|
TextItem: import("react").FC<import("./TextItem").TextItemProperties>;
|
|
6
7
|
};
|
|
@@ -3,6 +3,10 @@ export interface PluridUIDropdownSelectable {
|
|
|
3
3
|
id: string;
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
|
+
export interface PluridUIEntityPillData {
|
|
7
|
+
id: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
}
|
|
6
10
|
export declare type Small = 'small';
|
|
7
11
|
export declare type Normal = 'normal';
|
|
8
12
|
export declare type Large = 'large';
|
package/distribution/index.d.ts
CHANGED