@plurid/plurid-ui-state-react 0.0.0-10 → 0.0.0-11

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.
@@ -14,16 +14,46 @@ export interface HeadState {
14
14
  export declare const initialState: HeadState;
15
15
  export declare const name: "head";
16
16
  export declare const factory: (state?: HeadState) => import("@reduxjs/toolkit").Slice<HeadState, {
17
- setHead: (state: import("immer/dist/internal").WritableDraft<HeadState>, action: PayloadAction<Partial<HeadState>>) => void;
17
+ setHead: (state: {
18
+ title: string;
19
+ description: string;
20
+ canonicalURL: string;
21
+ ogTitle: string;
22
+ ogImage: string;
23
+ ogURL: string;
24
+ ogDescription: string;
25
+ styles: string[];
26
+ scripts: string[];
27
+ }, action: PayloadAction<Partial<HeadState>>) => void;
18
28
  }, "head">;
19
29
  export declare const slice: import("@reduxjs/toolkit").Slice<HeadState, {
20
- setHead: (state: import("immer/dist/internal").WritableDraft<HeadState>, action: PayloadAction<Partial<HeadState>>) => void;
30
+ setHead: (state: {
31
+ title: string;
32
+ description: string;
33
+ canonicalURL: string;
34
+ ogTitle: string;
35
+ ogImage: string;
36
+ ogURL: string;
37
+ ogDescription: string;
38
+ styles: string[];
39
+ scripts: string[];
40
+ }, action: PayloadAction<Partial<HeadState>>) => void;
21
41
  }, "head">;
22
42
  export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
23
- setHead: (state: import("immer/dist/internal").WritableDraft<HeadState>, action: PayloadAction<Partial<HeadState>>) => void;
43
+ setHead: (state: {
44
+ title: string;
45
+ description: string;
46
+ canonicalURL: string;
47
+ ogTitle: string;
48
+ ogImage: string;
49
+ ogURL: string;
50
+ ogDescription: string;
51
+ styles: string[];
52
+ scripts: string[];
53
+ }, action: PayloadAction<Partial<HeadState>>) => void;
24
54
  }, "head">;
25
55
  export declare const getHead: (state: StateWithSlice<typeof name, HeadState>) => HeadState;
26
56
  export declare const selectors: {
27
57
  getHead: (state: StateWithSlice<typeof name, HeadState>) => HeadState;
28
58
  };
29
- export declare const reducer: import("@reduxjs/toolkit").Reducer<HeadState, import("@reduxjs/toolkit").AnyAction>;
59
+ export declare const reducer: Reducer<State>;
@@ -4,24 +4,129 @@ export declare type NotificationsState = Notification[];
4
4
  export declare const initialState: NotificationsState;
5
5
  export declare const name: "notifications";
6
6
  export declare const factory: (state?: NotificationsState) => import("@reduxjs/toolkit").Slice<NotificationsState, {
7
- new: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => Notification[];
8
- add: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<AddNotificationPayload>) => Notification[];
9
- update: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<Notification>) => Notification[];
10
- remove: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => import("immer/dist/internal").WritableDraft<Notification>[];
7
+ new: (state: {
8
+ id: string;
9
+ text: string;
10
+ html?: boolean | undefined;
11
+ react?: boolean | undefined;
12
+ timeout?: number | undefined;
13
+ wordBreak?: boolean | undefined;
14
+ }[], action: PayloadAction<string>) => Notification[];
15
+ add: (state: {
16
+ id: string;
17
+ text: string;
18
+ html?: boolean | undefined;
19
+ react?: boolean | undefined;
20
+ timeout?: number | undefined;
21
+ wordBreak?: boolean | undefined;
22
+ }[], action: PayloadAction<AddNotificationPayload>) => Notification[];
23
+ update: (state: {
24
+ id: string;
25
+ text: string;
26
+ html?: boolean | undefined;
27
+ react?: boolean | undefined;
28
+ timeout?: number | undefined;
29
+ wordBreak?: boolean | undefined;
30
+ }[], action: PayloadAction<Notification>) => Notification[];
31
+ remove: (state: {
32
+ id: string;
33
+ text: string;
34
+ html?: boolean | undefined;
35
+ react?: boolean | undefined;
36
+ timeout?: number | undefined;
37
+ wordBreak?: boolean | undefined;
38
+ }[], action: PayloadAction<string>) => {
39
+ id: string;
40
+ text: string;
41
+ html?: boolean | undefined;
42
+ react?: boolean | undefined;
43
+ timeout?: number | undefined;
44
+ wordBreak?: boolean | undefined;
45
+ }[];
11
46
  }, "notifications">;
12
47
  export declare const slice: import("@reduxjs/toolkit").Slice<NotificationsState, {
13
- new: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => Notification[];
14
- add: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<AddNotificationPayload>) => Notification[];
15
- update: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<Notification>) => Notification[];
16
- remove: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => import("immer/dist/internal").WritableDraft<Notification>[];
48
+ new: (state: {
49
+ id: string;
50
+ text: string;
51
+ html?: boolean | undefined;
52
+ react?: boolean | undefined;
53
+ timeout?: number | undefined;
54
+ wordBreak?: boolean | undefined;
55
+ }[], action: PayloadAction<string>) => Notification[];
56
+ add: (state: {
57
+ id: string;
58
+ text: string;
59
+ html?: boolean | undefined;
60
+ react?: boolean | undefined;
61
+ timeout?: number | undefined;
62
+ wordBreak?: boolean | undefined;
63
+ }[], action: PayloadAction<AddNotificationPayload>) => Notification[];
64
+ update: (state: {
65
+ id: string;
66
+ text: string;
67
+ html?: boolean | undefined;
68
+ react?: boolean | undefined;
69
+ timeout?: number | undefined;
70
+ wordBreak?: boolean | undefined;
71
+ }[], action: PayloadAction<Notification>) => Notification[];
72
+ remove: (state: {
73
+ id: string;
74
+ text: string;
75
+ html?: boolean | undefined;
76
+ react?: boolean | undefined;
77
+ timeout?: number | undefined;
78
+ wordBreak?: boolean | undefined;
79
+ }[], action: PayloadAction<string>) => {
80
+ id: string;
81
+ text: string;
82
+ html?: boolean | undefined;
83
+ react?: boolean | undefined;
84
+ timeout?: number | undefined;
85
+ wordBreak?: boolean | undefined;
86
+ }[];
17
87
  }, "notifications">;
18
88
  export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
19
- new: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => Notification[];
20
- add: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<AddNotificationPayload>) => Notification[];
21
- update: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<Notification>) => Notification[];
22
- remove: (state: import("immer/dist/internal").WritableDraft<Notification>[], action: PayloadAction<string>) => import("immer/dist/internal").WritableDraft<Notification>[];
89
+ new: (state: {
90
+ id: string;
91
+ text: string;
92
+ html?: boolean | undefined;
93
+ react?: boolean | undefined;
94
+ timeout?: number | undefined;
95
+ wordBreak?: boolean | undefined;
96
+ }[], action: PayloadAction<string>) => Notification[];
97
+ add: (state: {
98
+ id: string;
99
+ text: string;
100
+ html?: boolean | undefined;
101
+ react?: boolean | undefined;
102
+ timeout?: number | undefined;
103
+ wordBreak?: boolean | undefined;
104
+ }[], action: PayloadAction<AddNotificationPayload>) => Notification[];
105
+ update: (state: {
106
+ id: string;
107
+ text: string;
108
+ html?: boolean | undefined;
109
+ react?: boolean | undefined;
110
+ timeout?: number | undefined;
111
+ wordBreak?: boolean | undefined;
112
+ }[], action: PayloadAction<Notification>) => Notification[];
113
+ remove: (state: {
114
+ id: string;
115
+ text: string;
116
+ html?: boolean | undefined;
117
+ react?: boolean | undefined;
118
+ timeout?: number | undefined;
119
+ wordBreak?: boolean | undefined;
120
+ }[], action: PayloadAction<string>) => {
121
+ id: string;
122
+ text: string;
123
+ html?: boolean | undefined;
124
+ react?: boolean | undefined;
125
+ timeout?: number | undefined;
126
+ wordBreak?: boolean | undefined;
127
+ }[];
23
128
  }, "notifications">;
24
129
  export declare const selectors: {
25
130
  getAll: (state: StateWithSlice<typeof name, NotificationsState>) => NotificationsState;
26
131
  };
27
- export declare const reducer: import("@reduxjs/toolkit").Reducer<NotificationsState, import("@reduxjs/toolkit").AnyAction>;
132
+ export declare const reducer: Reducer<State>;
@@ -6,18 +6,30 @@ export interface ShortcutsState {
6
6
  export declare const initialState: ShortcutsState;
7
7
  export declare const name: "shortcuts";
8
8
  export declare const factory: (state?: ShortcutsState) => import("@reduxjs/toolkit").Slice<ShortcutsState, {
9
- setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
10
- toggleGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, _action: PayloadAction<void>) => void;
9
+ setGlobalShortcuts: (state: {
10
+ global: boolean;
11
+ }, action: PayloadAction<boolean>) => void;
12
+ toggleGlobalShortcuts: (state: {
13
+ global: boolean;
14
+ }, _action: PayloadAction<void>) => void;
11
15
  }, "shortcuts">;
12
16
  export declare const slice: import("@reduxjs/toolkit").Slice<ShortcutsState, {
13
- setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
14
- toggleGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, _action: PayloadAction<void>) => void;
17
+ setGlobalShortcuts: (state: {
18
+ global: boolean;
19
+ }, action: PayloadAction<boolean>) => void;
20
+ toggleGlobalShortcuts: (state: {
21
+ global: boolean;
22
+ }, _action: PayloadAction<void>) => void;
15
23
  }, "shortcuts">;
16
24
  export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
17
- setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
18
- toggleGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, _action: PayloadAction<void>) => void;
25
+ setGlobalShortcuts: (state: {
26
+ global: boolean;
27
+ }, action: PayloadAction<boolean>) => void;
28
+ toggleGlobalShortcuts: (state: {
29
+ global: boolean;
30
+ }, _action: PayloadAction<void>) => void;
19
31
  }, "shortcuts">;
20
32
  export declare const selectors: {
21
33
  getGlobal: (state: StateWithSlice<typeof name, ShortcutsState>) => boolean;
22
34
  };
23
- export declare const reducer: import("@reduxjs/toolkit").Reducer<ShortcutsState, import("@reduxjs/toolkit").AnyAction>;
35
+ export declare const reducer: Reducer<State>;
@@ -7,31 +7,58 @@ export interface SittingState {
7
7
  export declare const initialState: SittingState;
8
8
  export declare const name: "sitting";
9
9
  export declare const factory: (state?: SittingState) => import("@reduxjs/toolkit").Slice<SittingState, {
10
- setSittingCurrentLink: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<string>) => {
10
+ setSittingCurrentLink: (state: {
11
+ currentLink: string;
12
+ tray: boolean;
13
+ }, action: PayloadAction<string>) => {
11
14
  currentLink: string;
12
15
  tray: boolean;
13
16
  };
14
- setSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<boolean>) => void;
15
- toggleSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, _action: PayloadAction<void>) => void;
17
+ setSittingTray: (state: {
18
+ currentLink: string;
19
+ tray: boolean;
20
+ }, action: PayloadAction<boolean>) => void;
21
+ toggleSittingTray: (state: {
22
+ currentLink: string;
23
+ tray: boolean;
24
+ }, _action: PayloadAction<void>) => void;
16
25
  }, "sitting">;
17
26
  export declare const slice: import("@reduxjs/toolkit").Slice<SittingState, {
18
- setSittingCurrentLink: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<string>) => {
27
+ setSittingCurrentLink: (state: {
28
+ currentLink: string;
29
+ tray: boolean;
30
+ }, action: PayloadAction<string>) => {
19
31
  currentLink: string;
20
32
  tray: boolean;
21
33
  };
22
- setSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<boolean>) => void;
23
- toggleSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, _action: PayloadAction<void>) => void;
34
+ setSittingTray: (state: {
35
+ currentLink: string;
36
+ tray: boolean;
37
+ }, action: PayloadAction<boolean>) => void;
38
+ toggleSittingTray: (state: {
39
+ currentLink: string;
40
+ tray: boolean;
41
+ }, _action: PayloadAction<void>) => void;
24
42
  }, "sitting">;
25
43
  export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
26
- setSittingCurrentLink: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<string>) => {
44
+ setSittingCurrentLink: (state: {
45
+ currentLink: string;
46
+ tray: boolean;
47
+ }, action: PayloadAction<string>) => {
27
48
  currentLink: string;
28
49
  tray: boolean;
29
50
  };
30
- setSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, action: PayloadAction<boolean>) => void;
31
- toggleSittingTray: (state: import("immer/dist/internal").WritableDraft<SittingState>, _action: PayloadAction<void>) => void;
51
+ setSittingTray: (state: {
52
+ currentLink: string;
53
+ tray: boolean;
54
+ }, action: PayloadAction<boolean>) => void;
55
+ toggleSittingTray: (state: {
56
+ currentLink: string;
57
+ tray: boolean;
58
+ }, _action: PayloadAction<void>) => void;
32
59
  }, "sitting">;
33
60
  export declare const selectors: {
34
61
  getCurrentLink: (state: StateWithSlice<typeof name, SittingState>) => string;
35
62
  getTray: (state: StateWithSlice<typeof name, SittingState>) => boolean;
36
63
  };
37
- export declare const reducer: import("@reduxjs/toolkit").Reducer<SittingState, import("@reduxjs/toolkit").AnyAction>;
64
+ export declare const reducer: Reducer<State>;
@@ -12,22 +12,715 @@ export interface SetThemePayload {
12
12
  theme: Theme;
13
13
  }
14
14
  export declare const factory: (state?: ThemesState) => import("@reduxjs/toolkit").Slice<ThemesState, {
15
- setTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<SetThemePayload>) => void;
16
- setGeneralTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
17
- setInteractionTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
15
+ setTheme: (state: {
16
+ general: {
17
+ type: "dark" | "bright";
18
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
19
+ baseColor: string;
20
+ baseColorInverted: string;
21
+ backgroundColorDark: string;
22
+ backgroundColorBright: string;
23
+ backgroundColorPrimary: string;
24
+ backgroundColorPrimaryAlpha: string;
25
+ backgroundColorPrimaryInverted: string;
26
+ backgroundColorSecondary: string;
27
+ backgroundColorSecondaryAlpha: string;
28
+ backgroundColorSecondaryInverted: string;
29
+ backgroundColorTertiary: string;
30
+ backgroundColorTertiaryAlpha: string;
31
+ backgroundColorTertiaryInverted: string;
32
+ backgroundColorQuaternary: string;
33
+ backgroundColorQuaternaryAlpha: string;
34
+ backgroundColorQuaternaryInverted: string;
35
+ colorPrimary: string;
36
+ colorPrimaryInverted: string;
37
+ colorSecondary: string;
38
+ colorSecondaryInverted: string;
39
+ colorTertiary: string;
40
+ colorTertiaryInverted: string;
41
+ boxShadowUmbra: string;
42
+ boxShadowUmbraColor: string;
43
+ boxShadowUmbraInset: string;
44
+ boxShadowPenumbra: string;
45
+ boxShadowPenumbraColor: string;
46
+ boxShadowPenumbraInset: string;
47
+ boxShadowAntumbra: string;
48
+ boxShadowAntumbraColor: string;
49
+ boxShadowAntumbraInset: string;
50
+ fontFamilySansSerif: string;
51
+ fontFamilySerif: string;
52
+ fontFamilyMonospace: string;
53
+ };
54
+ interaction: {
55
+ type: "dark" | "bright";
56
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
57
+ baseColor: string;
58
+ baseColorInverted: string;
59
+ backgroundColorDark: string;
60
+ backgroundColorBright: string;
61
+ backgroundColorPrimary: string;
62
+ backgroundColorPrimaryAlpha: string;
63
+ backgroundColorPrimaryInverted: string;
64
+ backgroundColorSecondary: string;
65
+ backgroundColorSecondaryAlpha: string;
66
+ backgroundColorSecondaryInverted: string;
67
+ backgroundColorTertiary: string;
68
+ backgroundColorTertiaryAlpha: string;
69
+ backgroundColorTertiaryInverted: string;
70
+ backgroundColorQuaternary: string;
71
+ backgroundColorQuaternaryAlpha: string;
72
+ backgroundColorQuaternaryInverted: string;
73
+ colorPrimary: string;
74
+ colorPrimaryInverted: string;
75
+ colorSecondary: string;
76
+ colorSecondaryInverted: string;
77
+ colorTertiary: string;
78
+ colorTertiaryInverted: string;
79
+ boxShadowUmbra: string;
80
+ boxShadowUmbraColor: string;
81
+ boxShadowUmbraInset: string;
82
+ boxShadowPenumbra: string;
83
+ boxShadowPenumbraColor: string;
84
+ boxShadowPenumbraInset: string;
85
+ boxShadowAntumbra: string;
86
+ boxShadowAntumbraColor: string;
87
+ boxShadowAntumbraInset: string;
88
+ fontFamilySansSerif: string;
89
+ fontFamilySerif: string;
90
+ fontFamilyMonospace: string;
91
+ };
92
+ }, action: PayloadAction<SetThemePayload>) => void;
93
+ setGeneralTheme: (state: {
94
+ general: {
95
+ type: "dark" | "bright";
96
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
97
+ baseColor: string;
98
+ baseColorInverted: string;
99
+ backgroundColorDark: string;
100
+ backgroundColorBright: string;
101
+ backgroundColorPrimary: string;
102
+ backgroundColorPrimaryAlpha: string;
103
+ backgroundColorPrimaryInverted: string;
104
+ backgroundColorSecondary: string;
105
+ backgroundColorSecondaryAlpha: string;
106
+ backgroundColorSecondaryInverted: string;
107
+ backgroundColorTertiary: string;
108
+ backgroundColorTertiaryAlpha: string;
109
+ backgroundColorTertiaryInverted: string;
110
+ backgroundColorQuaternary: string;
111
+ backgroundColorQuaternaryAlpha: string;
112
+ backgroundColorQuaternaryInverted: string;
113
+ colorPrimary: string;
114
+ colorPrimaryInverted: string;
115
+ colorSecondary: string;
116
+ colorSecondaryInverted: string;
117
+ colorTertiary: string;
118
+ colorTertiaryInverted: string;
119
+ boxShadowUmbra: string;
120
+ boxShadowUmbraColor: string;
121
+ boxShadowUmbraInset: string;
122
+ boxShadowPenumbra: string;
123
+ boxShadowPenumbraColor: string;
124
+ boxShadowPenumbraInset: string;
125
+ boxShadowAntumbra: string;
126
+ boxShadowAntumbraColor: string;
127
+ boxShadowAntumbraInset: string;
128
+ fontFamilySansSerif: string;
129
+ fontFamilySerif: string;
130
+ fontFamilyMonospace: string;
131
+ };
132
+ interaction: {
133
+ type: "dark" | "bright";
134
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
135
+ baseColor: string;
136
+ baseColorInverted: string;
137
+ backgroundColorDark: string;
138
+ backgroundColorBright: string;
139
+ backgroundColorPrimary: string;
140
+ backgroundColorPrimaryAlpha: string;
141
+ backgroundColorPrimaryInverted: string;
142
+ backgroundColorSecondary: string;
143
+ backgroundColorSecondaryAlpha: string;
144
+ backgroundColorSecondaryInverted: string;
145
+ backgroundColorTertiary: string;
146
+ backgroundColorTertiaryAlpha: string;
147
+ backgroundColorTertiaryInverted: string;
148
+ backgroundColorQuaternary: string;
149
+ backgroundColorQuaternaryAlpha: string;
150
+ backgroundColorQuaternaryInverted: string;
151
+ colorPrimary: string;
152
+ colorPrimaryInverted: string;
153
+ colorSecondary: string;
154
+ colorSecondaryInverted: string;
155
+ colorTertiary: string;
156
+ colorTertiaryInverted: string;
157
+ boxShadowUmbra: string;
158
+ boxShadowUmbraColor: string;
159
+ boxShadowUmbraInset: string;
160
+ boxShadowPenumbra: string;
161
+ boxShadowPenumbraColor: string;
162
+ boxShadowPenumbraInset: string;
163
+ boxShadowAntumbra: string;
164
+ boxShadowAntumbraColor: string;
165
+ boxShadowAntumbraInset: string;
166
+ fontFamilySansSerif: string;
167
+ fontFamilySerif: string;
168
+ fontFamilyMonospace: string;
169
+ };
170
+ }, action: PayloadAction<Theme>) => void;
171
+ setInteractionTheme: (state: {
172
+ general: {
173
+ type: "dark" | "bright";
174
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
175
+ baseColor: string;
176
+ baseColorInverted: string;
177
+ backgroundColorDark: string;
178
+ backgroundColorBright: string;
179
+ backgroundColorPrimary: string;
180
+ backgroundColorPrimaryAlpha: string;
181
+ backgroundColorPrimaryInverted: string;
182
+ backgroundColorSecondary: string;
183
+ backgroundColorSecondaryAlpha: string;
184
+ backgroundColorSecondaryInverted: string;
185
+ backgroundColorTertiary: string;
186
+ backgroundColorTertiaryAlpha: string;
187
+ backgroundColorTertiaryInverted: string;
188
+ backgroundColorQuaternary: string;
189
+ backgroundColorQuaternaryAlpha: string;
190
+ backgroundColorQuaternaryInverted: string;
191
+ colorPrimary: string;
192
+ colorPrimaryInverted: string;
193
+ colorSecondary: string;
194
+ colorSecondaryInverted: string;
195
+ colorTertiary: string;
196
+ colorTertiaryInverted: string;
197
+ boxShadowUmbra: string;
198
+ boxShadowUmbraColor: string;
199
+ boxShadowUmbraInset: string;
200
+ boxShadowPenumbra: string;
201
+ boxShadowPenumbraColor: string;
202
+ boxShadowPenumbraInset: string;
203
+ boxShadowAntumbra: string;
204
+ boxShadowAntumbraColor: string;
205
+ boxShadowAntumbraInset: string;
206
+ fontFamilySansSerif: string;
207
+ fontFamilySerif: string;
208
+ fontFamilyMonospace: string;
209
+ };
210
+ interaction: {
211
+ type: "dark" | "bright";
212
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
213
+ baseColor: string;
214
+ baseColorInverted: string;
215
+ backgroundColorDark: string;
216
+ backgroundColorBright: string;
217
+ backgroundColorPrimary: string;
218
+ backgroundColorPrimaryAlpha: string;
219
+ backgroundColorPrimaryInverted: string;
220
+ backgroundColorSecondary: string;
221
+ backgroundColorSecondaryAlpha: string;
222
+ backgroundColorSecondaryInverted: string;
223
+ backgroundColorTertiary: string;
224
+ backgroundColorTertiaryAlpha: string;
225
+ backgroundColorTertiaryInverted: string;
226
+ backgroundColorQuaternary: string;
227
+ backgroundColorQuaternaryAlpha: string;
228
+ backgroundColorQuaternaryInverted: string;
229
+ colorPrimary: string;
230
+ colorPrimaryInverted: string;
231
+ colorSecondary: string;
232
+ colorSecondaryInverted: string;
233
+ colorTertiary: string;
234
+ colorTertiaryInverted: string;
235
+ boxShadowUmbra: string;
236
+ boxShadowUmbraColor: string;
237
+ boxShadowUmbraInset: string;
238
+ boxShadowPenumbra: string;
239
+ boxShadowPenumbraColor: string;
240
+ boxShadowPenumbraInset: string;
241
+ boxShadowAntumbra: string;
242
+ boxShadowAntumbraColor: string;
243
+ boxShadowAntumbraInset: string;
244
+ fontFamilySansSerif: string;
245
+ fontFamilySerif: string;
246
+ fontFamilyMonospace: string;
247
+ };
248
+ }, action: PayloadAction<Theme>) => void;
18
249
  }, "themes">;
19
250
  export declare const slice: import("@reduxjs/toolkit").Slice<ThemesState, {
20
- setTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<SetThemePayload>) => void;
21
- setGeneralTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
22
- setInteractionTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
251
+ setTheme: (state: {
252
+ general: {
253
+ type: "dark" | "bright";
254
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
255
+ baseColor: string;
256
+ baseColorInverted: string;
257
+ backgroundColorDark: string;
258
+ backgroundColorBright: string;
259
+ backgroundColorPrimary: string;
260
+ backgroundColorPrimaryAlpha: string;
261
+ backgroundColorPrimaryInverted: string;
262
+ backgroundColorSecondary: string;
263
+ backgroundColorSecondaryAlpha: string;
264
+ backgroundColorSecondaryInverted: string;
265
+ backgroundColorTertiary: string;
266
+ backgroundColorTertiaryAlpha: string;
267
+ backgroundColorTertiaryInverted: string;
268
+ backgroundColorQuaternary: string;
269
+ backgroundColorQuaternaryAlpha: string;
270
+ backgroundColorQuaternaryInverted: string;
271
+ colorPrimary: string;
272
+ colorPrimaryInverted: string;
273
+ colorSecondary: string;
274
+ colorSecondaryInverted: string;
275
+ colorTertiary: string;
276
+ colorTertiaryInverted: string;
277
+ boxShadowUmbra: string;
278
+ boxShadowUmbraColor: string;
279
+ boxShadowUmbraInset: string;
280
+ boxShadowPenumbra: string;
281
+ boxShadowPenumbraColor: string;
282
+ boxShadowPenumbraInset: string;
283
+ boxShadowAntumbra: string;
284
+ boxShadowAntumbraColor: string;
285
+ boxShadowAntumbraInset: string;
286
+ fontFamilySansSerif: string;
287
+ fontFamilySerif: string;
288
+ fontFamilyMonospace: string;
289
+ };
290
+ interaction: {
291
+ type: "dark" | "bright";
292
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
293
+ baseColor: string;
294
+ baseColorInverted: string;
295
+ backgroundColorDark: string;
296
+ backgroundColorBright: string;
297
+ backgroundColorPrimary: string;
298
+ backgroundColorPrimaryAlpha: string;
299
+ backgroundColorPrimaryInverted: string;
300
+ backgroundColorSecondary: string;
301
+ backgroundColorSecondaryAlpha: string;
302
+ backgroundColorSecondaryInverted: string;
303
+ backgroundColorTertiary: string;
304
+ backgroundColorTertiaryAlpha: string;
305
+ backgroundColorTertiaryInverted: string;
306
+ backgroundColorQuaternary: string;
307
+ backgroundColorQuaternaryAlpha: string;
308
+ backgroundColorQuaternaryInverted: string;
309
+ colorPrimary: string;
310
+ colorPrimaryInverted: string;
311
+ colorSecondary: string;
312
+ colorSecondaryInverted: string;
313
+ colorTertiary: string;
314
+ colorTertiaryInverted: string;
315
+ boxShadowUmbra: string;
316
+ boxShadowUmbraColor: string;
317
+ boxShadowUmbraInset: string;
318
+ boxShadowPenumbra: string;
319
+ boxShadowPenumbraColor: string;
320
+ boxShadowPenumbraInset: string;
321
+ boxShadowAntumbra: string;
322
+ boxShadowAntumbraColor: string;
323
+ boxShadowAntumbraInset: string;
324
+ fontFamilySansSerif: string;
325
+ fontFamilySerif: string;
326
+ fontFamilyMonospace: string;
327
+ };
328
+ }, action: PayloadAction<SetThemePayload>) => void;
329
+ setGeneralTheme: (state: {
330
+ general: {
331
+ type: "dark" | "bright";
332
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
333
+ baseColor: string;
334
+ baseColorInverted: string;
335
+ backgroundColorDark: string;
336
+ backgroundColorBright: string;
337
+ backgroundColorPrimary: string;
338
+ backgroundColorPrimaryAlpha: string;
339
+ backgroundColorPrimaryInverted: string;
340
+ backgroundColorSecondary: string;
341
+ backgroundColorSecondaryAlpha: string;
342
+ backgroundColorSecondaryInverted: string;
343
+ backgroundColorTertiary: string;
344
+ backgroundColorTertiaryAlpha: string;
345
+ backgroundColorTertiaryInverted: string;
346
+ backgroundColorQuaternary: string;
347
+ backgroundColorQuaternaryAlpha: string;
348
+ backgroundColorQuaternaryInverted: string;
349
+ colorPrimary: string;
350
+ colorPrimaryInverted: string;
351
+ colorSecondary: string;
352
+ colorSecondaryInverted: string;
353
+ colorTertiary: string;
354
+ colorTertiaryInverted: string;
355
+ boxShadowUmbra: string;
356
+ boxShadowUmbraColor: string;
357
+ boxShadowUmbraInset: string;
358
+ boxShadowPenumbra: string;
359
+ boxShadowPenumbraColor: string;
360
+ boxShadowPenumbraInset: string;
361
+ boxShadowAntumbra: string;
362
+ boxShadowAntumbraColor: string;
363
+ boxShadowAntumbraInset: string;
364
+ fontFamilySansSerif: string;
365
+ fontFamilySerif: string;
366
+ fontFamilyMonospace: string;
367
+ };
368
+ interaction: {
369
+ type: "dark" | "bright";
370
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
371
+ baseColor: string;
372
+ baseColorInverted: string;
373
+ backgroundColorDark: string;
374
+ backgroundColorBright: string;
375
+ backgroundColorPrimary: string;
376
+ backgroundColorPrimaryAlpha: string;
377
+ backgroundColorPrimaryInverted: string;
378
+ backgroundColorSecondary: string;
379
+ backgroundColorSecondaryAlpha: string;
380
+ backgroundColorSecondaryInverted: string;
381
+ backgroundColorTertiary: string;
382
+ backgroundColorTertiaryAlpha: string;
383
+ backgroundColorTertiaryInverted: string;
384
+ backgroundColorQuaternary: string;
385
+ backgroundColorQuaternaryAlpha: string;
386
+ backgroundColorQuaternaryInverted: string;
387
+ colorPrimary: string;
388
+ colorPrimaryInverted: string;
389
+ colorSecondary: string;
390
+ colorSecondaryInverted: string;
391
+ colorTertiary: string;
392
+ colorTertiaryInverted: string;
393
+ boxShadowUmbra: string;
394
+ boxShadowUmbraColor: string;
395
+ boxShadowUmbraInset: string;
396
+ boxShadowPenumbra: string;
397
+ boxShadowPenumbraColor: string;
398
+ boxShadowPenumbraInset: string;
399
+ boxShadowAntumbra: string;
400
+ boxShadowAntumbraColor: string;
401
+ boxShadowAntumbraInset: string;
402
+ fontFamilySansSerif: string;
403
+ fontFamilySerif: string;
404
+ fontFamilyMonospace: string;
405
+ };
406
+ }, action: PayloadAction<Theme>) => void;
407
+ setInteractionTheme: (state: {
408
+ general: {
409
+ type: "dark" | "bright";
410
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
411
+ baseColor: string;
412
+ baseColorInverted: string;
413
+ backgroundColorDark: string;
414
+ backgroundColorBright: string;
415
+ backgroundColorPrimary: string;
416
+ backgroundColorPrimaryAlpha: string;
417
+ backgroundColorPrimaryInverted: string;
418
+ backgroundColorSecondary: string;
419
+ backgroundColorSecondaryAlpha: string;
420
+ backgroundColorSecondaryInverted: string;
421
+ backgroundColorTertiary: string;
422
+ backgroundColorTertiaryAlpha: string;
423
+ backgroundColorTertiaryInverted: string;
424
+ backgroundColorQuaternary: string;
425
+ backgroundColorQuaternaryAlpha: string;
426
+ backgroundColorQuaternaryInverted: string;
427
+ colorPrimary: string;
428
+ colorPrimaryInverted: string;
429
+ colorSecondary: string;
430
+ colorSecondaryInverted: string;
431
+ colorTertiary: string;
432
+ colorTertiaryInverted: string;
433
+ boxShadowUmbra: string;
434
+ boxShadowUmbraColor: string;
435
+ boxShadowUmbraInset: string;
436
+ boxShadowPenumbra: string;
437
+ boxShadowPenumbraColor: string;
438
+ boxShadowPenumbraInset: string;
439
+ boxShadowAntumbra: string;
440
+ boxShadowAntumbraColor: string;
441
+ boxShadowAntumbraInset: string;
442
+ fontFamilySansSerif: string;
443
+ fontFamilySerif: string;
444
+ fontFamilyMonospace: string;
445
+ };
446
+ interaction: {
447
+ type: "dark" | "bright";
448
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
449
+ baseColor: string;
450
+ baseColorInverted: string;
451
+ backgroundColorDark: string;
452
+ backgroundColorBright: string;
453
+ backgroundColorPrimary: string;
454
+ backgroundColorPrimaryAlpha: string;
455
+ backgroundColorPrimaryInverted: string;
456
+ backgroundColorSecondary: string;
457
+ backgroundColorSecondaryAlpha: string;
458
+ backgroundColorSecondaryInverted: string;
459
+ backgroundColorTertiary: string;
460
+ backgroundColorTertiaryAlpha: string;
461
+ backgroundColorTertiaryInverted: string;
462
+ backgroundColorQuaternary: string;
463
+ backgroundColorQuaternaryAlpha: string;
464
+ backgroundColorQuaternaryInverted: string;
465
+ colorPrimary: string;
466
+ colorPrimaryInverted: string;
467
+ colorSecondary: string;
468
+ colorSecondaryInverted: string;
469
+ colorTertiary: string;
470
+ colorTertiaryInverted: string;
471
+ boxShadowUmbra: string;
472
+ boxShadowUmbraColor: string;
473
+ boxShadowUmbraInset: string;
474
+ boxShadowPenumbra: string;
475
+ boxShadowPenumbraColor: string;
476
+ boxShadowPenumbraInset: string;
477
+ boxShadowAntumbra: string;
478
+ boxShadowAntumbraColor: string;
479
+ boxShadowAntumbraInset: string;
480
+ fontFamilySansSerif: string;
481
+ fontFamilySerif: string;
482
+ fontFamilyMonospace: string;
483
+ };
484
+ }, action: PayloadAction<Theme>) => void;
23
485
  }, "themes">;
24
486
  export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
25
- setTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<SetThemePayload>) => void;
26
- setGeneralTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
27
- setInteractionTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
487
+ setTheme: (state: {
488
+ general: {
489
+ type: "dark" | "bright";
490
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
491
+ baseColor: string;
492
+ baseColorInverted: string;
493
+ backgroundColorDark: string;
494
+ backgroundColorBright: string;
495
+ backgroundColorPrimary: string;
496
+ backgroundColorPrimaryAlpha: string;
497
+ backgroundColorPrimaryInverted: string;
498
+ backgroundColorSecondary: string;
499
+ backgroundColorSecondaryAlpha: string;
500
+ backgroundColorSecondaryInverted: string;
501
+ backgroundColorTertiary: string;
502
+ backgroundColorTertiaryAlpha: string;
503
+ backgroundColorTertiaryInverted: string;
504
+ backgroundColorQuaternary: string;
505
+ backgroundColorQuaternaryAlpha: string;
506
+ backgroundColorQuaternaryInverted: string;
507
+ colorPrimary: string;
508
+ colorPrimaryInverted: string;
509
+ colorSecondary: string;
510
+ colorSecondaryInverted: string;
511
+ colorTertiary: string;
512
+ colorTertiaryInverted: string;
513
+ boxShadowUmbra: string;
514
+ boxShadowUmbraColor: string;
515
+ boxShadowUmbraInset: string;
516
+ boxShadowPenumbra: string;
517
+ boxShadowPenumbraColor: string;
518
+ boxShadowPenumbraInset: string;
519
+ boxShadowAntumbra: string;
520
+ boxShadowAntumbraColor: string;
521
+ boxShadowAntumbraInset: string;
522
+ fontFamilySansSerif: string;
523
+ fontFamilySerif: string;
524
+ fontFamilyMonospace: string;
525
+ };
526
+ interaction: {
527
+ type: "dark" | "bright";
528
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
529
+ baseColor: string;
530
+ baseColorInverted: string;
531
+ backgroundColorDark: string;
532
+ backgroundColorBright: string;
533
+ backgroundColorPrimary: string;
534
+ backgroundColorPrimaryAlpha: string;
535
+ backgroundColorPrimaryInverted: string;
536
+ backgroundColorSecondary: string;
537
+ backgroundColorSecondaryAlpha: string;
538
+ backgroundColorSecondaryInverted: string;
539
+ backgroundColorTertiary: string;
540
+ backgroundColorTertiaryAlpha: string;
541
+ backgroundColorTertiaryInverted: string;
542
+ backgroundColorQuaternary: string;
543
+ backgroundColorQuaternaryAlpha: string;
544
+ backgroundColorQuaternaryInverted: string;
545
+ colorPrimary: string;
546
+ colorPrimaryInverted: string;
547
+ colorSecondary: string;
548
+ colorSecondaryInverted: string;
549
+ colorTertiary: string;
550
+ colorTertiaryInverted: string;
551
+ boxShadowUmbra: string;
552
+ boxShadowUmbraColor: string;
553
+ boxShadowUmbraInset: string;
554
+ boxShadowPenumbra: string;
555
+ boxShadowPenumbraColor: string;
556
+ boxShadowPenumbraInset: string;
557
+ boxShadowAntumbra: string;
558
+ boxShadowAntumbraColor: string;
559
+ boxShadowAntumbraInset: string;
560
+ fontFamilySansSerif: string;
561
+ fontFamilySerif: string;
562
+ fontFamilyMonospace: string;
563
+ };
564
+ }, action: PayloadAction<SetThemePayload>) => void;
565
+ setGeneralTheme: (state: {
566
+ general: {
567
+ type: "dark" | "bright";
568
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
569
+ baseColor: string;
570
+ baseColorInverted: string;
571
+ backgroundColorDark: string;
572
+ backgroundColorBright: string;
573
+ backgroundColorPrimary: string;
574
+ backgroundColorPrimaryAlpha: string;
575
+ backgroundColorPrimaryInverted: string;
576
+ backgroundColorSecondary: string;
577
+ backgroundColorSecondaryAlpha: string;
578
+ backgroundColorSecondaryInverted: string;
579
+ backgroundColorTertiary: string;
580
+ backgroundColorTertiaryAlpha: string;
581
+ backgroundColorTertiaryInverted: string;
582
+ backgroundColorQuaternary: string;
583
+ backgroundColorQuaternaryAlpha: string;
584
+ backgroundColorQuaternaryInverted: string;
585
+ colorPrimary: string;
586
+ colorPrimaryInverted: string;
587
+ colorSecondary: string;
588
+ colorSecondaryInverted: string;
589
+ colorTertiary: string;
590
+ colorTertiaryInverted: string;
591
+ boxShadowUmbra: string;
592
+ boxShadowUmbraColor: string;
593
+ boxShadowUmbraInset: string;
594
+ boxShadowPenumbra: string;
595
+ boxShadowPenumbraColor: string;
596
+ boxShadowPenumbraInset: string;
597
+ boxShadowAntumbra: string;
598
+ boxShadowAntumbraColor: string;
599
+ boxShadowAntumbraInset: string;
600
+ fontFamilySansSerif: string;
601
+ fontFamilySerif: string;
602
+ fontFamilyMonospace: string;
603
+ };
604
+ interaction: {
605
+ type: "dark" | "bright";
606
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
607
+ baseColor: string;
608
+ baseColorInverted: string;
609
+ backgroundColorDark: string;
610
+ backgroundColorBright: string;
611
+ backgroundColorPrimary: string;
612
+ backgroundColorPrimaryAlpha: string;
613
+ backgroundColorPrimaryInverted: string;
614
+ backgroundColorSecondary: string;
615
+ backgroundColorSecondaryAlpha: string;
616
+ backgroundColorSecondaryInverted: string;
617
+ backgroundColorTertiary: string;
618
+ backgroundColorTertiaryAlpha: string;
619
+ backgroundColorTertiaryInverted: string;
620
+ backgroundColorQuaternary: string;
621
+ backgroundColorQuaternaryAlpha: string;
622
+ backgroundColorQuaternaryInverted: string;
623
+ colorPrimary: string;
624
+ colorPrimaryInverted: string;
625
+ colorSecondary: string;
626
+ colorSecondaryInverted: string;
627
+ colorTertiary: string;
628
+ colorTertiaryInverted: string;
629
+ boxShadowUmbra: string;
630
+ boxShadowUmbraColor: string;
631
+ boxShadowUmbraInset: string;
632
+ boxShadowPenumbra: string;
633
+ boxShadowPenumbraColor: string;
634
+ boxShadowPenumbraInset: string;
635
+ boxShadowAntumbra: string;
636
+ boxShadowAntumbraColor: string;
637
+ boxShadowAntumbraInset: string;
638
+ fontFamilySansSerif: string;
639
+ fontFamilySerif: string;
640
+ fontFamilyMonospace: string;
641
+ };
642
+ }, action: PayloadAction<Theme>) => void;
643
+ setInteractionTheme: (state: {
644
+ general: {
645
+ type: "dark" | "bright";
646
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
647
+ baseColor: string;
648
+ baseColorInverted: string;
649
+ backgroundColorDark: string;
650
+ backgroundColorBright: string;
651
+ backgroundColorPrimary: string;
652
+ backgroundColorPrimaryAlpha: string;
653
+ backgroundColorPrimaryInverted: string;
654
+ backgroundColorSecondary: string;
655
+ backgroundColorSecondaryAlpha: string;
656
+ backgroundColorSecondaryInverted: string;
657
+ backgroundColorTertiary: string;
658
+ backgroundColorTertiaryAlpha: string;
659
+ backgroundColorTertiaryInverted: string;
660
+ backgroundColorQuaternary: string;
661
+ backgroundColorQuaternaryAlpha: string;
662
+ backgroundColorQuaternaryInverted: string;
663
+ colorPrimary: string;
664
+ colorPrimaryInverted: string;
665
+ colorSecondary: string;
666
+ colorSecondaryInverted: string;
667
+ colorTertiary: string;
668
+ colorTertiaryInverted: string;
669
+ boxShadowUmbra: string;
670
+ boxShadowUmbraColor: string;
671
+ boxShadowUmbraInset: string;
672
+ boxShadowPenumbra: string;
673
+ boxShadowPenumbraColor: string;
674
+ boxShadowPenumbraInset: string;
675
+ boxShadowAntumbra: string;
676
+ boxShadowAntumbraColor: string;
677
+ boxShadowAntumbraInset: string;
678
+ fontFamilySansSerif: string;
679
+ fontFamilySerif: string;
680
+ fontFamilyMonospace: string;
681
+ };
682
+ interaction: {
683
+ type: "dark" | "bright";
684
+ name: "generated" | "night" | "dusk" | "dawn" | "light" | "ponton" | "jaune" | "furor" | "deback" | "decode" | "defile" | "deform" | "delook" | "deloss" | "demail" | "demand" | "denote" | "depack" | "depict" | "deself" | "desite" | "detime" | "detour" | "detune" | "deturn" | "deveil" | "devert" | "deview" | "dewiki" | "plurid";
685
+ baseColor: string;
686
+ baseColorInverted: string;
687
+ backgroundColorDark: string;
688
+ backgroundColorBright: string;
689
+ backgroundColorPrimary: string;
690
+ backgroundColorPrimaryAlpha: string;
691
+ backgroundColorPrimaryInverted: string;
692
+ backgroundColorSecondary: string;
693
+ backgroundColorSecondaryAlpha: string;
694
+ backgroundColorSecondaryInverted: string;
695
+ backgroundColorTertiary: string;
696
+ backgroundColorTertiaryAlpha: string;
697
+ backgroundColorTertiaryInverted: string;
698
+ backgroundColorQuaternary: string;
699
+ backgroundColorQuaternaryAlpha: string;
700
+ backgroundColorQuaternaryInverted: string;
701
+ colorPrimary: string;
702
+ colorPrimaryInverted: string;
703
+ colorSecondary: string;
704
+ colorSecondaryInverted: string;
705
+ colorTertiary: string;
706
+ colorTertiaryInverted: string;
707
+ boxShadowUmbra: string;
708
+ boxShadowUmbraColor: string;
709
+ boxShadowUmbraInset: string;
710
+ boxShadowPenumbra: string;
711
+ boxShadowPenumbraColor: string;
712
+ boxShadowPenumbraInset: string;
713
+ boxShadowAntumbra: string;
714
+ boxShadowAntumbraColor: string;
715
+ boxShadowAntumbraInset: string;
716
+ fontFamilySansSerif: string;
717
+ fontFamilySerif: string;
718
+ fontFamilyMonospace: string;
719
+ };
720
+ }, action: PayloadAction<Theme>) => void;
28
721
  }, "themes">;
29
722
  export declare const selectors: {
30
723
  getGeneralTheme: (state: StateWithSlice<typeof name, ThemesState>) => Theme;
31
724
  getInteractionTheme: (state: StateWithSlice<typeof name, ThemesState>) => Theme;
32
725
  };
33
- export declare const reducer: import("@reduxjs/toolkit").Reducer<ThemesState, import("@reduxjs/toolkit").AnyAction>;
726
+ export declare const reducer: Reducer<State>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurid/plurid-ui-state-react",
3
- "version": "0.0.0-10",
3
+ "version": "0.0.0-11",
4
4
  "description": "Plurid User Interface State for React",
5
5
  "keywords": [
6
6
  "plurid",
@@ -30,8 +30,8 @@
30
30
  "module": "distribution/index.es.js",
31
31
  "types": "distribution/index.d.ts",
32
32
  "engines": {
33
- "node": ">=12",
34
- "npm": ">=6"
33
+ "node": ">=18",
34
+ "npm": ">=8"
35
35
  },
36
36
  "scripts": {
37
37
  "test": "jest -c ./configurations/jest.config.js",
@@ -44,23 +44,23 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@plurid/plurid-themes": "*",
47
- "@reduxjs/toolkit": ">=1.8"
47
+ "@reduxjs/toolkit": ">=1.9"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@plurid/plurid-themes": "^0.0.0-2",
51
- "@reduxjs/toolkit": "^1.9.2",
52
- "@types/jest": "^29.4.0",
53
- "@types/node": "^18.13.0",
54
- "@typescript-eslint/eslint-plugin": "^5.51.0",
55
- "@typescript-eslint/parser": "^5.51.0",
51
+ "@reduxjs/toolkit": "^1.9.5",
52
+ "@rollup/plugin-terser": "^0.4.1",
53
+ "@types/jest": "^29.5.1",
54
+ "@types/node": "^18.16.3",
55
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
56
+ "@typescript-eslint/parser": "^5.59.1",
56
57
  "@zerollup/ts-transform-paths": "^1.7.18",
57
- "eslint": "^8.33.0",
58
- "immer": "^9.0.19",
59
- "jest": "^29.4.2",
60
- "rollup": "^3.14.0",
61
- "rollup-plugin-terser": "^7.0.2",
58
+ "eslint": "^8.39.0",
59
+ "immer": "^10.0.1",
60
+ "jest": "^29.5.0",
61
+ "rollup": "^3.21.2",
62
62
  "rollup-plugin-typescript2": "^0.34.1",
63
- "ts-jest": "^29.0.5",
63
+ "ts-jest": "^29.1.0",
64
64
  "ts-node": "^10.9.1",
65
65
  "ttypescript": "^1.5.15",
66
66
  "typescript": "==4.7.3"