mtxuilib 0.1.416 → 0.1.418

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.
@@ -6,8 +6,7 @@ export type SLNTProps = {
6
6
  export interface SlntState extends SLNTProps {
7
7
  }
8
8
  export declare const slntContext: import("react").Context<(Omit<import("zustand").StoreApi<SlntState>, "setState"> & {
9
- setState(nextStateOrUpdater: SlntState | Partial<SlntState> | ((state: import("immer").WritableDraft<SlntState>) => void), shouldReplace?: false): void;
10
- setState(nextStateOrUpdater: SlntState | ((state: import("immer").WritableDraft<SlntState>) => void), shouldReplace: true): void;
9
+ setState(nextStateOrUpdater: SlntState | Partial<SlntState> | ((state: import("immer").WritableDraft<SlntState>) => void), shouldReplace?: boolean | undefined): void;
11
10
  }) | null>;
12
11
  type ModalProviderProps = React.PropsWithChildren<SLNTProps>;
13
12
  export declare const MenuTreeProvider: (props: ModalProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -44,31 +44,13 @@ export declare const gomtmContext: import("react").Context<(Omit<Omit<Omit<impor
44
44
  }>>;
45
45
  };
46
46
  }, "setState"> & {
47
- setState(partial: Dash5LayoutState | Partial<Dash5LayoutState> | ((state: Dash5LayoutState) => Dash5LayoutState | Partial<Dash5LayoutState>), replace?: false | undefined, action?: (string | {
48
- [x: string]: unknown;
49
- [x: number]: unknown;
50
- [x: symbol]: unknown;
47
+ setState<A extends string | {
51
48
  type: string;
52
- }) | undefined): void;
53
- setState(state: Dash5LayoutState | ((state: Dash5LayoutState) => Dash5LayoutState), replace: true, action?: (string | {
54
- [x: string]: unknown;
55
- [x: number]: unknown;
56
- [x: symbol]: unknown;
57
- type: string;
58
- }) | undefined): void;
49
+ }>(partial: Dash5LayoutState | Partial<Dash5LayoutState> | ((state: Dash5LayoutState) => Dash5LayoutState | Partial<Dash5LayoutState>), replace?: boolean | undefined, action?: A | undefined): void;
59
50
  }, "setState"> & {
60
- setState(nextStateOrUpdater: Dash5LayoutState | Partial<Dash5LayoutState> | ((state: import("immer").WritableDraft<Dash5LayoutState>) => void), shouldReplace?: false, action?: (string | {
61
- [x: string]: unknown;
62
- [x: number]: unknown;
63
- [x: symbol]: unknown;
64
- type: string;
65
- }) | undefined): void;
66
- setState(nextStateOrUpdater: Dash5LayoutState | ((state: import("immer").WritableDraft<Dash5LayoutState>) => void), shouldReplace: true, action?: (string | {
67
- [x: string]: unknown;
68
- [x: number]: unknown;
69
- [x: symbol]: unknown;
51
+ setState(nextStateOrUpdater: Dash5LayoutState | Partial<Dash5LayoutState> | ((state: import("immer").WritableDraft<Dash5LayoutState>) => void), shouldReplace?: boolean | undefined, action?: string | {
70
52
  type: string;
71
- }) | undefined): void;
53
+ } | undefined): void;
72
54
  }) | null>;
73
55
  type AppProviderProps = React.PropsWithChildren<Dash5LayoutProps>;
74
56
  export declare const Dash5LayoutProvider: (props: AppProviderProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mtxuilib",
3
3
  "private": false,
4
- "version": "0.1.416",
4
+ "version": "0.1.418",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },