gov-ui-core 1.0.24 → 1.0.26

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,5 +1,6 @@
1
1
  import queryString from 'query-string';
2
2
  import { ColumnsType } from 'antd/lib/table/interface';
3
+ import { ToastOptions } from '../components/Toast';
3
4
  export declare const getOption: (options: any, value: any) => any;
4
5
  /**
5
6
  * 페이지네이션 계산 함수
@@ -33,3 +34,13 @@ export declare const cleanEmptyObj: (obj: any, values: Record<string, any>[], pr
33
34
  * @param padding
34
35
  */
35
36
  export declare const setColumnOption: <RecordType = Record<string, any>>(columns: ColumnsType<RecordType>, options?: Record<string, any>, padding?: number) => ColumnsType<RecordType>;
37
+ /**
38
+ * notification 함수
39
+ * className을 지정하기위해 사용
40
+ */
41
+ export declare const showNotification: {
42
+ success(config: ToastOptions): void;
43
+ info(config: ToastOptions): void;
44
+ warn(config: ToastOptions): void;
45
+ error(config: ToastOptions): void;
46
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
@@ -61,7 +61,7 @@
61
61
  "react-date-range": "^1.4.0",
62
62
  "react-dev-utils": "^12.0.1",
63
63
  "react-dom": "18.2",
64
- "react-hook-form": "^7.51.1",
64
+ "react-hook-form": "~7.54.0",
65
65
  "react-intl": "^6.8.9",
66
66
  "react-refresh": "^0.11.0",
67
67
  "react-router-dom": "^6.22.3",