@plurid/plurid-ui-state-react 0.0.0-0 → 0.0.0-10
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/data/interfaces/index.d.ts +15 -0
- package/distribution/index.d.ts +1 -0
- package/distribution/index.es.js +240 -457
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +247 -462
- package/distribution/index.js.map +1 -1
- package/distribution/modules/head/index.d.ts +29 -6
- package/distribution/modules/notifications/index.d.ts +27 -6
- package/distribution/modules/shortcuts/index.d.ts +23 -6
- package/distribution/modules/sitting/index.d.ts +37 -6
- package/distribution/modules/themes/index.d.ts +33 -6
- package/package.json +22 -17
- package/distribution/modules/head/actions/index.d.ts +0 -5
- package/distribution/modules/head/initial/index.d.ts +0 -3
- package/distribution/modules/head/reducer/index.d.ts +0 -4
- package/distribution/modules/head/resolvers/index.d.ts +0 -5
- package/distribution/modules/head/selectors/index.d.ts +0 -6
- package/distribution/modules/head/types/index.d.ts +0 -21
- package/distribution/modules/notifications/actions/index.d.ts +0 -7
- package/distribution/modules/notifications/initial/index.d.ts +0 -3
- package/distribution/modules/notifications/reducer/index.d.ts +0 -3
- package/distribution/modules/notifications/resolvers/index.d.ts +0 -7
- package/distribution/modules/notifications/selectors/index.d.ts +0 -6
- package/distribution/modules/notifications/types/index.d.ts +0 -31
- package/distribution/modules/shortcuts/actions/index.d.ts +0 -5
- package/distribution/modules/shortcuts/initial/index.d.ts +0 -3
- package/distribution/modules/shortcuts/reducer/index.d.ts +0 -3
- package/distribution/modules/shortcuts/resolvers/index.d.ts +0 -7
- package/distribution/modules/shortcuts/selectors/index.d.ts +0 -6
- package/distribution/modules/shortcuts/types/index.d.ts +0 -9
- package/distribution/modules/sitting/actions/index.d.ts +0 -6
- package/distribution/modules/sitting/initial/index.d.ts +0 -3
- package/distribution/modules/sitting/reducer/index.d.ts +0 -4
- package/distribution/modules/sitting/resolvers/index.d.ts +0 -6
- package/distribution/modules/sitting/selectors/index.d.ts +0 -7
- package/distribution/modules/sitting/types/index.d.ts +0 -15
- package/distribution/modules/themes/actions/index.d.ts +0 -5
- package/distribution/modules/themes/initial/index.d.ts +0 -3
- package/distribution/modules/themes/reducer/index.d.ts +0 -4
- package/distribution/modules/themes/resolvers/index.d.ts +0 -5
- package/distribution/modules/themes/selectors/index.d.ts +0 -7
- package/distribution/modules/themes/types/index.d.ts +0 -15
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StateOfAny } from "../../../data/interfaces";
|
|
2
|
-
import * as Types from '../types';
|
|
3
|
-
declare const selectors: {
|
|
4
|
-
getGeneralTheme: (state: StateOfAny & Record<'themes', Types.State>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
5
|
-
getInteractionTheme: (state: StateOfAny & Record<'themes', Types.State>) => import("@plurid/plurid-themes/distribution").Theme;
|
|
6
|
-
};
|
|
7
|
-
export default selectors;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@plurid/plurid-themes';
|
|
2
|
-
export declare const SET_THEME = "SET_THEME";
|
|
3
|
-
export interface SetThemePayload {
|
|
4
|
-
type: 'general' | 'interaction';
|
|
5
|
-
theme: Theme;
|
|
6
|
-
}
|
|
7
|
-
export interface SetThemeAction {
|
|
8
|
-
type: typeof SET_THEME;
|
|
9
|
-
payload: SetThemePayload;
|
|
10
|
-
}
|
|
11
|
-
export interface State {
|
|
12
|
-
general: Theme;
|
|
13
|
-
interaction: Theme;
|
|
14
|
-
}
|
|
15
|
-
export declare type Actions = SetThemeAction;
|