@thefreshop/tb 1.0.26 → 1.0.28
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/dist/cjs/index.js +45 -41
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/tbframe/layout/frame.d.ts +3 -2
- package/dist/cjs/tbframe/layout/nav.d.ts +3 -2
- package/dist/cjs/types/tbframe.types.d.ts +16 -0
- package/dist/esm/index.js +45 -41
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/tbframe/layout/frame.d.ts +3 -2
- package/dist/esm/tbframe/layout/nav.d.ts +3 -2
- package/dist/esm/types/tbframe.types.d.ts +16 -0
- package/dist/index.d.ts +17 -1
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { tbframeType, topType, navType, bottomType } from "../../types";
|
|
3
|
-
declare const TbFrame: ({ setting, top, bottom, nav, top_banner, hashmode, }: {
|
|
2
|
+
import { tbframeType, topType, navType, bottomType, FrameStyleType } from "../../types";
|
|
3
|
+
declare const TbFrame: ({ setting, top, bottom, nav, top_banner, hashmode, frameStyle, }: {
|
|
4
4
|
setting: tbframeType;
|
|
5
5
|
top: topType;
|
|
6
6
|
bottom?: bottomType;
|
|
7
7
|
nav: navType;
|
|
8
8
|
top_banner?: React.ReactNode;
|
|
9
9
|
hashmode?: boolean;
|
|
10
|
+
frameStyle?: FrameStyleType;
|
|
10
11
|
}) => React.JSX.Element;
|
|
11
12
|
export default TbFrame;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { navType } from "../../types";
|
|
3
|
-
declare const Nav: ({ nav: { menuSet, openIcon, closeIcon }, islogin }: {
|
|
2
|
+
import { navType, FrameStyleType } from "../../types";
|
|
3
|
+
declare const Nav: ({ nav: { menuSet, openIcon, closeIcon }, islogin, frameStyle }: {
|
|
4
4
|
nav: navType;
|
|
5
5
|
islogin: boolean;
|
|
6
|
+
frameStyle?: FrameStyleType;
|
|
6
7
|
}) => React.JSX.Element;
|
|
7
8
|
export default Nav;
|
|
@@ -7,6 +7,22 @@ export interface tbframeType {
|
|
|
7
7
|
logoutComponent?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export declare const baseAdminDat: TbFrameType;
|
|
10
|
+
export type FrameStyleType = {
|
|
11
|
+
main?: React.CSSProperties;
|
|
12
|
+
mainframe?: React.CSSProperties;
|
|
13
|
+
centerFrame?: React.CSSProperties;
|
|
14
|
+
contentsFrame?: React.CSSProperties;
|
|
15
|
+
bottomFrame?: React.CSSProperties;
|
|
16
|
+
naviFrame?: React.CSSProperties;
|
|
17
|
+
nav_item?: React.CSSProperties;
|
|
18
|
+
menu_select?: React.CSSProperties;
|
|
19
|
+
menu_hover?: React.CSSProperties;
|
|
20
|
+
menu_nomal?: React.CSSProperties;
|
|
21
|
+
nav_icon?: React.CSSProperties;
|
|
22
|
+
nav_text?: React.CSSProperties;
|
|
23
|
+
nav_openIcon?: React.CSSProperties;
|
|
24
|
+
sub_item?: React.CSSProperties;
|
|
25
|
+
};
|
|
10
26
|
export type TbFrameType = {
|
|
11
27
|
admin_account_id: number;
|
|
12
28
|
admin_profile_id: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -177,6 +177,22 @@ interface tbframeType {
|
|
|
177
177
|
logoutComponent?: React.ReactNode;
|
|
178
178
|
}
|
|
179
179
|
declare const baseAdminDat: TbFrameType;
|
|
180
|
+
type FrameStyleType = {
|
|
181
|
+
main?: React.CSSProperties;
|
|
182
|
+
mainframe?: React.CSSProperties;
|
|
183
|
+
centerFrame?: React.CSSProperties;
|
|
184
|
+
contentsFrame?: React.CSSProperties;
|
|
185
|
+
bottomFrame?: React.CSSProperties;
|
|
186
|
+
naviFrame?: React.CSSProperties;
|
|
187
|
+
nav_item?: React.CSSProperties;
|
|
188
|
+
menu_select?: React.CSSProperties;
|
|
189
|
+
menu_hover?: React.CSSProperties;
|
|
190
|
+
menu_nomal?: React.CSSProperties;
|
|
191
|
+
nav_icon?: React.CSSProperties;
|
|
192
|
+
nav_text?: React.CSSProperties;
|
|
193
|
+
nav_openIcon?: React.CSSProperties;
|
|
194
|
+
sub_item?: React.CSSProperties;
|
|
195
|
+
};
|
|
180
196
|
type TbFrameType = {
|
|
181
197
|
admin_account_id: number;
|
|
182
198
|
admin_profile_id: number;
|
|
@@ -255,4 +271,4 @@ type ErrMsgType = {
|
|
|
255
271
|
};
|
|
256
272
|
|
|
257
273
|
export { baseAdminDat, topbase };
|
|
258
|
-
export type { AntBaseTableRefProps, AnyObject, ErrMsgType, ProviderType, TbFrameType, antBaseColumnType, antBasePropsType, authMenuType, authType, bottomType, btnReturnFType, btnReturnTType, customBtnReturnFType, customBtnReturnTType, groupType, menuSetType, menuType, navType, searchBoxType, searchDataType, searchItemOptionsType, searchItemsType, searchOptionType, selectType, submitItemType, tabType, tbframeType, topMenuType, topType, userType };
|
|
274
|
+
export type { AntBaseTableRefProps, AnyObject, ErrMsgType, FrameStyleType, ProviderType, TbFrameType, antBaseColumnType, antBasePropsType, authMenuType, authType, bottomType, btnReturnFType, btnReturnTType, customBtnReturnFType, customBtnReturnTType, groupType, menuSetType, menuType, navType, searchBoxType, searchDataType, searchItemOptionsType, searchItemsType, searchOptionType, selectType, submitItemType, tabType, tbframeType, topMenuType, topType, userType };
|