@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
package/LICENSE
ADDED
package/LICENSE.deon
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/plurid/plurid/master/about/identity/plurid-p-logo.png" height="250px">
|
|
3
|
+
<br />
|
|
4
|
+
<br />
|
|
5
|
+
<a target="_blank" href="https://github.com/plurid/plurid-ui/blob/master/LICENSE">
|
|
6
|
+
<img src="https://img.shields.io/badge/license-DEL-blue.svg?colorB=1380C3&style=for-the-badge" alt="License: DEL">
|
|
7
|
+
</a>
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<h1 align="center">
|
|
13
|
+
plurid' user interface state and components
|
|
14
|
+
</h1>
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Contents
|
|
19
|
+
|
|
20
|
+
+ [Packages](#packages)
|
|
21
|
+
+ [Codeophon](#codeophon)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Packages
|
|
26
|
+
|
|
27
|
+
<a target="_blank" href="https://www.npmjs.com/package/@plurid/plurid-ui-state-react">
|
|
28
|
+
<img src="https://img.shields.io/npm/v/@plurid/plurid-ui-state-react.svg?logo=npm&colorB=1380C3&style=for-the-badge" alt="Version">
|
|
29
|
+
</a>
|
|
30
|
+
|
|
31
|
+
[@plurid/plurid-ui-state-react][plurid-ui-state-react] • plurid' user interface state for `React`
|
|
32
|
+
|
|
33
|
+
[plurid-ui-state-react]: https://github.com/plurid/plurid-state/tree/master/packages/plurid-ui-state-react
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<a target="_blank" href="https://www.npmjs.com/package/@plurid/plurid-ui-components-react">
|
|
37
|
+
<img src="https://img.shields.io/npm/v/@plurid/plurid-ui-components-react.svg?logo=npm&colorB=1380C3&style=for-the-badge" alt="Version">
|
|
38
|
+
</a>
|
|
39
|
+
|
|
40
|
+
[@plurid/plurid-ui-components-react][plurid-ui-components-react] • plurid' user interface components for `React`
|
|
41
|
+
|
|
42
|
+
[plurid-ui-components-react]: https://github.com/plurid/plurid-ui/tree/master/packages/plurid-ui-components-react
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [Codeophon](https://github.com/ly3xqhl8g9/codeophon)
|
|
47
|
+
|
|
48
|
+
+ licensing: [delicense](https://github.com/ly3xqhl8g9/delicense)
|
|
49
|
+
+ versioning: [αver](https://github.com/ly3xqhl8g9/alpha-versioning)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const pluridal: {
|
|
3
|
+
notifications: {
|
|
4
|
+
Notification: import("react").FC<import("./notifications/Notification").NotificationOwnProperties>;
|
|
5
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./notifications/Notifications").NotificationsProperties>, import("react-redux").Omit<import("./notifications/Notifications").NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & import("./notifications/Notifications").NotificationsOwnProperties>;
|
|
6
|
+
};
|
|
7
|
+
sitting: {
|
|
8
|
+
SittingTray: import("react-redux").ConnectedComponent<import("react").FC<import("./sitting/SittingTray").SittingTrayProperties>, any>;
|
|
9
|
+
};
|
|
10
|
+
toolbars: {
|
|
11
|
+
HorizontalToolbarButton: import("react").FC<import("./toolbars/HorizontalToolbarButton").HorizontalToolbarButtonOwnProperties>;
|
|
12
|
+
ToolbarControls: import("react").FC<import("./toolbars/ToolbarControls").ToolbarControlsOwnProperties>;
|
|
13
|
+
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./toolbars/ToolbarGeneral").ToolbarGeneralProperties>, any>;
|
|
14
|
+
ToolbarSpecific: import("react-redux").ConnectedComponent<import("react").FC<import("./toolbars/ToolbarSpecific").ToolbarSpecificProperties>, any>;
|
|
15
|
+
VerticalToolbarButton: import("react").FC<import("./toolbars/VerticalToolbarButton").VerticalToolbarButtonOwnProperties>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default pluridal;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { notifications } from '@plurid/plurid-ui-state-react';
|
|
4
|
+
export interface NotificationOwnProperties {
|
|
5
|
+
data: notifications.Types.Notification;
|
|
6
|
+
theme: Theme;
|
|
7
|
+
remove: (payload: notifications.Types.RemoveNotificationPayload) => void;
|
|
8
|
+
elements?: Record<string, JSX.Element>;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type NotificationProperties = NotificationOwnProperties;
|
|
13
|
+
declare const Notification: React.FC<NotificationProperties>;
|
|
14
|
+
export default Notification;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledNotification {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledNotification: import("styled-components").StyledComponent<"div", any, IStyledNotification, never>;
|
|
6
|
+
export declare const StyledNotificationContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const StyledNotificationClose: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StateOfAny, themes as themesStateService, notifications as notificationsStateService } from '@plurid/plurid-ui-state-react';
|
|
3
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
4
|
+
export declare type NotificationsState = StateOfAny & {
|
|
5
|
+
themes: themesStateService.Types.State;
|
|
6
|
+
notifications: notificationsStateService.Types.State;
|
|
7
|
+
};
|
|
8
|
+
export declare type NotificationsSelectors = StateOfAny & {
|
|
9
|
+
themes: typeof themesStateService.selectors;
|
|
10
|
+
notifications: typeof notificationsStateService.selectors;
|
|
11
|
+
};
|
|
12
|
+
export interface NotificationsOwnProperties {
|
|
13
|
+
selectors: NotificationsSelectors;
|
|
14
|
+
context: React.Context<any>;
|
|
15
|
+
elements?: Record<string, JSX.Element>;
|
|
16
|
+
}
|
|
17
|
+
export interface NotificationsStateProperties {
|
|
18
|
+
stateGeneralTheme: Theme;
|
|
19
|
+
stateNotifications: notificationsStateService.Types.Notification[];
|
|
20
|
+
}
|
|
21
|
+
export interface NotificationsDispatchProperties {
|
|
22
|
+
dispatchRemoveNotification: typeof notificationsStateService.actions.removeNotification;
|
|
23
|
+
}
|
|
24
|
+
export declare type NotificationsProperties = NotificationsOwnProperties & NotificationsStateProperties & NotificationsDispatchProperties;
|
|
25
|
+
declare const ConnectedNotifications: import("react-redux").ConnectedComponent<React.FC<NotificationsProperties>, import("react-redux").Omit<NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & NotificationsOwnProperties>;
|
|
26
|
+
export default ConnectedNotifications;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledNotifications: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const notifications: {
|
|
3
|
+
Notification: import("react").FC<import("./Notification").NotificationOwnProperties>;
|
|
4
|
+
Notifications: import("react-redux").ConnectedComponent<import("react").FC<import("./Notifications").NotificationsProperties>, import("react-redux").Omit<import("./Notifications").NotificationsProperties, "stateGeneralTheme" | "stateNotifications" | "dispatchRemoveNotification"> & import("./Notifications").NotificationsOwnProperties>;
|
|
5
|
+
};
|
|
6
|
+
export default notifications;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface SittingsOwnProperties {
|
|
4
|
+
selectors: any;
|
|
5
|
+
}
|
|
6
|
+
export interface SittingsStateProperties {
|
|
7
|
+
stateInteractionTheme: Theme;
|
|
8
|
+
}
|
|
9
|
+
export interface SittingsDispatchProperties {
|
|
10
|
+
}
|
|
11
|
+
export declare type SittingsProperties = SittingsOwnProperties & SittingsStateProperties & SittingsDispatchProperties;
|
|
12
|
+
declare const ConnectedSittings: import("react-redux").ConnectedComponent<React.FC<SittingsProperties>, any>;
|
|
13
|
+
export default ConnectedSittings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSittings: any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface StateImageOwnProperties {
|
|
4
|
+
selectors: any;
|
|
5
|
+
}
|
|
6
|
+
export interface StateImageStateProperties {
|
|
7
|
+
stateInteractionTheme: Theme;
|
|
8
|
+
}
|
|
9
|
+
export interface StateImageDispatchProperties {
|
|
10
|
+
}
|
|
11
|
+
export declare type StateImageProperties = StateImageOwnProperties & StateImageStateProperties & StateImageDispatchProperties;
|
|
12
|
+
declare const ConnectedStateImage: import("react-redux").ConnectedComponent<React.FC<StateImageProperties>, any>;
|
|
13
|
+
export default ConnectedStateImage;
|
package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/styled.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const StyledStateImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledStateShareImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledStateShareImageButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const StyledStateShareImageButtonsCopy: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const StyledStateShareImagePasteContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const StyledStateLine: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledSliderStateButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledSliderStateSliderContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const StyledSliderStateSittings: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const StyledStateLineButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const StyledStateLineButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const StyledStateLineContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/distribution/components/pluridal/sitting/SittingTray/components/StateShareImage/styled.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const StyledStateShareImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const StyledStateShareImageButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledStateShareImageButtonsCopy: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const StyledStateShareImagePasteContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface SittingTrayOwnProperties {
|
|
4
|
+
selectors: any;
|
|
5
|
+
context: any;
|
|
6
|
+
}
|
|
7
|
+
export interface SittingTrayStateProperties {
|
|
8
|
+
stateInteractionTheme: Theme;
|
|
9
|
+
}
|
|
10
|
+
export interface SittingTrayDispatchProperties {
|
|
11
|
+
}
|
|
12
|
+
export declare type SittingTrayProperties = SittingTrayOwnProperties & SittingTrayStateProperties & SittingTrayDispatchProperties;
|
|
13
|
+
declare const ConnectedSittingTray: import("react-redux").ConnectedComponent<React.FC<SittingTrayProperties>, any>;
|
|
14
|
+
export default ConnectedSittingTray;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const StyledSittingTray: any;
|
|
2
|
+
export declare const StyledSittingTrayContainer: any;
|
|
3
|
+
export declare const StyledSittingTrayItem: any;
|
|
4
|
+
export declare const StyledSittingTrayItemHeader: any;
|
|
5
|
+
export declare const StyledSittingTrayItemBody: any;
|
|
6
|
+
export declare const StyledSittingTrayButton: any;
|
|
7
|
+
export declare const StyledSittingTrayButtonIcon: any;
|
|
8
|
+
export declare const StyledSittingTrayButtonText: any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface HorizontalToolbarButtonOwnProperties {
|
|
4
|
+
text: string;
|
|
5
|
+
atClick: (event: React.MouseEvent) => void;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
icon?: React.FC;
|
|
8
|
+
scaleIcon?: boolean;
|
|
9
|
+
theme?: Theme;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const HorizontalToolbarButton: React.FC<HorizontalToolbarButtonOwnProperties>;
|
|
14
|
+
export default HorizontalToolbarButton;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledHorizontalToolbarButton {
|
|
3
|
+
active?: boolean;
|
|
4
|
+
scaleIcon?: boolean;
|
|
5
|
+
theme: Theme;
|
|
6
|
+
}
|
|
7
|
+
export declare const StyledHorizontalToolbarButton: import("styled-components").StyledComponent<"div", any, IStyledHorizontalToolbarButton, never>;
|
|
8
|
+
export interface IStyledHorizontalToolbarButtonIcon {
|
|
9
|
+
text: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledHorizontalToolbarButtonIcon: import("styled-components").StyledComponent<"div", any, IStyledHorizontalToolbarButtonIcon, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { VerticalPositions } from "../../../../data/enumerations";
|
|
4
|
+
export interface ToolbarControlsOwnProperties {
|
|
5
|
+
position?: keyof typeof VerticalPositions;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare type ToolbarControlsProperties = ToolbarControlsOwnProperties;
|
|
11
|
+
declare const ToolbarControls: React.FC<ToolbarControlsProperties>;
|
|
12
|
+
export default ToolbarControls;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
import { VerticalPositions } from "../../../../data/enumerations";
|
|
3
|
+
export interface IStyledToolbarControls {
|
|
4
|
+
position: keyof typeof VerticalPositions;
|
|
5
|
+
theme: Theme;
|
|
6
|
+
}
|
|
7
|
+
export declare const StyledToolbarControls: import("styled-components").StyledComponent<"div", any, IStyledToolbarControls, never>;
|
|
8
|
+
interface IStyledToolbarControlsButtons {
|
|
9
|
+
theme: Theme;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledToolbarControlsButtons: import("styled-components").StyledComponent<"div", any, IStyledToolbarControlsButtons, never>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { sitting } from '@plurid/plurid-ui-state-react';
|
|
3
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
4
|
+
import { ToolbarButton } from "../../../../data/interfaces";
|
|
5
|
+
export interface ToolbarGeneralOwnProperties {
|
|
6
|
+
buttons: ToolbarButton[];
|
|
7
|
+
selectors: any;
|
|
8
|
+
context: any;
|
|
9
|
+
handleClick: (type: any) => void;
|
|
10
|
+
speakButton?: boolean;
|
|
11
|
+
sittingButton?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ToolbarGeneralStateProperties {
|
|
14
|
+
stateView: string;
|
|
15
|
+
stateToolbars: any;
|
|
16
|
+
stateSittingTray: boolean;
|
|
17
|
+
stateInteractionTheme: Theme;
|
|
18
|
+
}
|
|
19
|
+
export interface ToolbarGeneralDispatchProperties {
|
|
20
|
+
dispatchToggleSittingTray: typeof sitting.actions.toggleSittingTray;
|
|
21
|
+
}
|
|
22
|
+
export declare type ToolbarGeneralProperties = ToolbarGeneralOwnProperties & ToolbarGeneralStateProperties & ToolbarGeneralDispatchProperties;
|
|
23
|
+
declare const ConnectedToolbarGeneral: import("react-redux").ConnectedComponent<React.FC<ToolbarGeneralProperties>, any>;
|
|
24
|
+
export default ConnectedToolbarGeneral;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { ToolbarButton } from "../../../../data/interfaces";
|
|
4
|
+
import { HorizontalPositions } from "../../../../data/enumerations";
|
|
5
|
+
export interface ToolbarSpecificOwnProperties {
|
|
6
|
+
buttons: ToolbarButton[];
|
|
7
|
+
handleClick: (type: any, index: number) => void;
|
|
8
|
+
activeType: any;
|
|
9
|
+
selectors: any;
|
|
10
|
+
position?: keyof typeof HorizontalPositions;
|
|
11
|
+
}
|
|
12
|
+
export interface ToolbarSpecificStateProperties {
|
|
13
|
+
stateToolbars: any;
|
|
14
|
+
stateIdentonym: string;
|
|
15
|
+
stateInteractionTheme: Theme;
|
|
16
|
+
}
|
|
17
|
+
export interface ToolbarSpecificDispatchProperties {
|
|
18
|
+
}
|
|
19
|
+
export declare type ToolbarSpecificProperties = ToolbarSpecificOwnProperties & ToolbarSpecificStateProperties & ToolbarSpecificDispatchProperties;
|
|
20
|
+
declare const ConnectedToolbarSpecific: import("react-redux").ConnectedComponent<React.FC<ToolbarSpecificProperties>, any>;
|
|
21
|
+
export default ConnectedToolbarSpecific;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
import { HorizontalPositions } from "../../../../data/enumerations";
|
|
3
|
+
export interface IStyledToolbar {
|
|
4
|
+
position: keyof typeof HorizontalPositions;
|
|
5
|
+
}
|
|
6
|
+
export declare const StyledToolbar: import("styled-components").StyledComponent<"div", any, IStyledToolbar, never>;
|
|
7
|
+
export interface IStyledToolbarButtons {
|
|
8
|
+
theme: Theme;
|
|
9
|
+
}
|
|
10
|
+
export declare const StyledToolbarButtons: import("styled-components").StyledComponent<"div", any, IStyledToolbarButtons, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface VerticalToolbarButtonOwnProperties {
|
|
4
|
+
atClick: (event: React.MouseEvent) => void;
|
|
5
|
+
icon: React.FC;
|
|
6
|
+
active: boolean;
|
|
7
|
+
text: string;
|
|
8
|
+
textLeft: boolean;
|
|
9
|
+
showText: boolean;
|
|
10
|
+
scaleIcon: boolean;
|
|
11
|
+
theme: Theme;
|
|
12
|
+
first?: boolean;
|
|
13
|
+
last?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const VerticalToolbarButton: React.FC<VerticalToolbarButtonOwnProperties>;
|
|
16
|
+
export default VerticalToolbarButton;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledVerticalToolbarButton {
|
|
3
|
+
active: boolean;
|
|
4
|
+
scaleIcon: boolean;
|
|
5
|
+
first: boolean;
|
|
6
|
+
last: boolean;
|
|
7
|
+
theme: Theme;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledVerticalToolbarButton: any;
|
|
10
|
+
export interface IStyledVerticalToolbarButtonText {
|
|
11
|
+
textLeft: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const StyledVerticalToolbarButtonText: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const toolbars: {
|
|
3
|
+
HorizontalToolbarButton: import("react").FC<import("./HorizontalToolbarButton").HorizontalToolbarButtonOwnProperties>;
|
|
4
|
+
ToolbarControls: import("react").FC<import("./ToolbarControls").ToolbarControlsOwnProperties>;
|
|
5
|
+
ToolbarGeneral: import("react-redux").ConnectedComponent<import("react").FC<import("./ToolbarGeneral").ToolbarGeneralProperties>, any>;
|
|
6
|
+
ToolbarSpecific: import("react-redux").ConnectedComponent<import("react").FC<import("./ToolbarSpecific").ToolbarSpecificProperties>, any>;
|
|
7
|
+
VerticalToolbarButton: import("react").FC<import("./VerticalToolbarButton").VerticalToolbarButtonOwnProperties>;
|
|
8
|
+
};
|
|
9
|
+
export default toolbars;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface LinkButtonProperties {
|
|
4
|
+
text: string;
|
|
5
|
+
atClick: (event: React.MouseEvent) => void;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
level?: number;
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const LinkButton: React.FC<LinkButtonProperties>;
|
|
16
|
+
export default LinkButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledLinkButton {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
level: number;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledLinkButton: any;
|
|
10
|
+
export declare const StyledLinkButtonLoading: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { Sizes } from "../../../../data/interfaces";
|
|
4
|
+
export interface PureButtonProperties {
|
|
5
|
+
text: string;
|
|
6
|
+
atClick: (event: React.MouseEvent) => void;
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
level?: number;
|
|
9
|
+
size?: Sizes;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const PureButton: React.FC<PureButtonProperties>;
|
|
16
|
+
export default PureButton;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
import { Sizes } from "../../../../data/interfaces";
|
|
3
|
+
export interface IStyledPureButton {
|
|
4
|
+
theme: Theme;
|
|
5
|
+
size: Sizes;
|
|
6
|
+
level: number;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledPureButton: any;
|
|
10
|
+
export interface IStyledPureButtonDiv {
|
|
11
|
+
theme: Theme;
|
|
12
|
+
level: number;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const StyledPureButtonDiv: import("styled-components").StyledComponent<any, any, object & {}, string | number | symbol>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface RefreshButtonProperties {
|
|
4
|
+
atClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
|
+
theme?: Theme;
|
|
6
|
+
text?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hideAtClick?: boolean;
|
|
9
|
+
hideTime?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const RefreshButton: React.FC<RefreshButtonProperties>;
|
|
12
|
+
export default RefreshButton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const buttons: {
|
|
3
|
+
PureButton: import("react").FC<import("./PureButton").PureButtonProperties>;
|
|
4
|
+
LinkButton: import("react").FC<import("./LinkButton").LinkButtonProperties>;
|
|
5
|
+
RefreshButton: import("react").FC<import("./RefreshButton").RefreshButtonProperties>;
|
|
6
|
+
};
|
|
7
|
+
export default buttons;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface FormLeftRightProperties {
|
|
4
|
+
theme?: Theme;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Form left and right items
|
|
10
|
+
*
|
|
11
|
+
* @param properties
|
|
12
|
+
*/
|
|
13
|
+
declare const FormLeftRight: React.FC<FormLeftRightProperties>;
|
|
14
|
+
export default FormLeftRight;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
export interface FormObliterateProperties {
|
|
4
|
+
atObliterate: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
|
+
item?: string;
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
devisible?: boolean;
|
|
8
|
+
level?: number;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders an icon and a descriptive text, button-like.
|
|
14
|
+
*
|
|
15
|
+
* @param properties
|
|
16
|
+
*/
|
|
17
|
+
declare const FormObliterate: React.FC<FormObliterateProperties>;
|
|
18
|
+
export default FormObliterate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledFormObliterate {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
level: number;
|
|
5
|
+
devisible: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const StyledFormObliterate: import("styled-components").StyledComponent<"div", any, IStyledFormObliterate, never>;
|
|
8
|
+
export declare const StyledObliterateContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
3
|
+
import { PluridIconProperties } from '@plurid/plurid-icons-react';
|
|
4
|
+
export interface FormbuttonProperties {
|
|
5
|
+
text: string;
|
|
6
|
+
Icon: React.FC<PluridIconProperties>;
|
|
7
|
+
atClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
8
|
+
link?: string;
|
|
9
|
+
target?: string;
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
devisible?: boolean;
|
|
12
|
+
level?: number;
|
|
13
|
+
iconPosition?: 'left' | 'center' | 'right';
|
|
14
|
+
/**
|
|
15
|
+
* Renders the button as is (without hover, cursor effects, and on click listen).
|
|
16
|
+
*/
|
|
17
|
+
inactive?: boolean;
|
|
18
|
+
hoverEffect?: boolean;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Renders an icon and a descriptive text, button-like.
|
|
24
|
+
*
|
|
25
|
+
* @param properties
|
|
26
|
+
*/
|
|
27
|
+
declare const Formbutton: React.FC<FormbuttonProperties>;
|
|
28
|
+
export default Formbutton;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
+
export interface IStyledFormbutton {
|
|
3
|
+
theme: Theme;
|
|
4
|
+
level: number;
|
|
5
|
+
inactive: boolean;
|
|
6
|
+
devisible: boolean;
|
|
7
|
+
hoverEffect: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const StyledFormbutton: import("styled-components").StyledComponent<"div", any, IStyledFormbutton, never>;
|
|
10
|
+
export interface IStyledFormbuttonIcon {
|
|
11
|
+
theme: Theme;
|
|
12
|
+
position: 'left' | 'center' | 'right';
|
|
13
|
+
}
|
|
14
|
+
export declare const StyledFormbuttonIcon: import("styled-components").StyledComponent<"div", any, IStyledFormbuttonIcon, never>;
|
|
15
|
+
export declare const StyledFormbuttonText: import("styled-components").StyledComponent<"div", any, {}, never>;
|