@thefreshop/tb 1.1.3 → 1.1.4

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,3 +1,5 @@
1
1
  import React from "react";
2
- declare const Main: () => React.JSX.Element;
2
+ declare const Main: ({ style }: {
3
+ style?: React.CSSProperties;
4
+ }) => React.JSX.Element;
3
5
  export default Main;
@@ -17,7 +17,7 @@ import { btnReturnFType, customBtnReturnFType } from "../../../../types";
17
17
 
18
18
  * @todo
19
19
  */
20
- export declare const TableTopButtonGroup: ({ isSelect, onRefresh, isCounter, autoRefreshTime, addProps, modifyProps, deleteProps, removeProps, resetProps, customProps, }: {
20
+ export declare const TableTopButtonGroup: ({ isSelect, onRefresh, isCounter, autoRefreshTime, addProps, modifyProps, deleteProps, removeProps, resetProps, customProps, isInSearch, onInSearch, }: {
21
21
  isSelect: boolean;
22
22
  onRefresh?: () => void;
23
23
  isCounter?: boolean;
@@ -28,6 +28,8 @@ export declare const TableTopButtonGroup: ({ isSelect, onRefresh, isCounter, aut
28
28
  removeProps?: btnReturnFType;
29
29
  resetProps?: btnReturnFType;
30
30
  customProps?: customBtnReturnFType;
31
+ isInSearch?: boolean;
32
+ onInSearch?: (value: string) => void;
31
33
  }) => React.JSX.Element | null;
32
34
  export declare const TableBottomButtonGroup: ({ isSelect, topProps, bottomProps, upProps, downProps, }: {
33
35
  isSelect: boolean;
@@ -45,6 +45,7 @@ export type antBasePropsType<T = AnyObject, K = string | GetRowKey<T>> = {
45
45
  autoRefreshTime?: number;
46
46
  createModalWidth?: React.CSSProperties["width"];
47
47
  onCreateClose?: () => void;
48
+ isInSearch?: boolean;
48
49
  };
49
50
  export type antBaseColumnType = {
50
51
  tableProps: (ColumnType<AnyObject> | ColumnGroupType<AnyObject>) & {
@@ -12,6 +12,7 @@ export type FrameStyleType = {
12
12
  mainframe?: React.CSSProperties;
13
13
  centerFrame?: React.CSSProperties;
14
14
  contentsFrame?: React.CSSProperties;
15
+ contentsMainFrame?: React.CSSProperties;
15
16
  bottomFrame?: React.CSSProperties;
16
17
  naviFrame?: React.CSSProperties;
17
18
  nav_item?: React.CSSProperties;
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ type antBasePropsType<T = AnyObject$1, K = string | GetRowKey<T>> = {
46
46
  autoRefreshTime?: number;
47
47
  createModalWidth?: React.CSSProperties["width"];
48
48
  onCreateClose?: () => void;
49
+ isInSearch?: boolean;
49
50
  };
50
51
  type antBaseColumnType = {
51
52
  tableProps: (ColumnType<AnyObject$1> | ColumnGroupType<AnyObject$1>) & {
@@ -126,6 +127,7 @@ type FrameStyleType = {
126
127
  mainframe?: React.CSSProperties;
127
128
  centerFrame?: React.CSSProperties;
128
129
  contentsFrame?: React.CSSProperties;
130
+ contentsMainFrame?: React.CSSProperties;
129
131
  bottomFrame?: React.CSSProperties;
130
132
  naviFrame?: React.CSSProperties;
131
133
  nav_item?: React.CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefreshop/tb",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "tb framework",
5
5
  "license": "MIT",
6
6
  "repository": {