denwa-react-shared 1.0.12 → 1.0.14

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,4 @@
1
1
  export * from './hooks';
2
- export * from './messages';
3
2
  export * from './form';
4
3
  export * from './images';
5
4
  export * from './storage';
@@ -1,6 +1,8 @@
1
1
  import { DatePickerProps } from 'antd';
2
+ import { Locale } from 'antd/es/locale';
2
3
  export interface BaseDatePickerProps extends DatePickerProps {
3
4
  noDateText: string;
5
+ configLocale: Locale;
4
6
  currentValue: Date | string;
5
7
  readOnly?: boolean;
6
8
  onChangeDate: (date: Date | null) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "denwa-react-shared",
3
3
  "private": false,
4
- "version": "1.0.12",
4
+ "version": "1.0.14",
5
5
  "type": "module",
6
6
  "author": "Denwa",
7
7
  "main": "dist/denwa-react-shared.umd.js",
@@ -1,2 +0,0 @@
1
- import { MessageContextProps } from './types';
2
- export declare const MessageContext: import('react').Context<MessageContextProps>;
@@ -1,2 +0,0 @@
1
- export * from './provider';
2
- export * from './use-message';
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { MessageProviderProps } from './types';
3
- export declare const MessageProvider: FC<MessageProviderProps>;
@@ -1,8 +0,0 @@
1
- import { MessageInstance } from 'antd/lib/message/interface';
2
- import { ReactNode } from 'react';
3
- export interface MessageContextProps {
4
- messageApi: MessageInstance | undefined;
5
- }
6
- export interface MessageProviderProps {
7
- children: ReactNode;
8
- }
@@ -1 +0,0 @@
1
- export declare const useMessage: () => import('./types').MessageContextProps;