@thefreshop/tb 1.0.27 → 1.0.29

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.
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { bottomType } from "../../types";
3
- declare const Bottom: ({ bottom }: {
3
+ declare const Bottom: ({ bottom, frameStyle }: {
4
4
  bottom: bottomType;
5
+ frameStyle?: any;
5
6
  }) => React.JSX.Element;
6
7
  export default Bottom;
@@ -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;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
- import { navType } from "../../types";
3
- declare const Tabs: ({ nav: { menuSet, openIcon, closeIcon } }: {
2
+ import { FrameStyleType, navType } from "../../types";
3
+ declare const Tabs: ({ nav: { menuSet, openIcon, closeIcon }, frameStyle }: {
4
4
  nav: navType;
5
+ frameStyle?: FrameStyleType;
5
6
  }) => React.JSX.Element;
6
7
  export default Tabs;
@@ -7,6 +7,30 @@ 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
+ bottom_item?: React.CSSProperties;
26
+ tabFrame?: React.CSSProperties;
27
+ tab_item?: React.CSSProperties;
28
+ tab_item_text?: React.CSSProperties;
29
+ tab_item_button?: React.CSSProperties;
30
+ tab_x_button?: React.CSSProperties;
31
+ tab_normal?: React.CSSProperties;
32
+ tab_select?: React.CSSProperties;
33
+ };
10
34
  export type TbFrameType = {
11
35
  admin_account_id: number;
12
36
  admin_profile_id: number;
package/dist/index.d.ts CHANGED
@@ -177,6 +177,30 @@ 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
+ bottom_item?: React.CSSProperties;
196
+ tabFrame?: React.CSSProperties;
197
+ tab_item?: React.CSSProperties;
198
+ tab_item_text?: React.CSSProperties;
199
+ tab_item_button?: React.CSSProperties;
200
+ tab_x_button?: React.CSSProperties;
201
+ tab_normal?: React.CSSProperties;
202
+ tab_select?: React.CSSProperties;
203
+ };
180
204
  type TbFrameType = {
181
205
  admin_account_id: number;
182
206
  admin_profile_id: number;
@@ -255,4 +279,4 @@ type ErrMsgType = {
255
279
  };
256
280
 
257
281
  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 };
282
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefreshop/tb",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "tb framework",
5
5
  "license": "MIT",
6
6
  "repository": {