@croquiscom/pds 0.47.5 → 1.0.0
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/CHANGELOG.md +6 -0
- package/dist/components/file-upload/FileUpload.d.ts +1 -0
- package/dist/components/provider/Provider.d.ts +10 -4
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/locales/en.d.ts +14 -0
- package/dist/locales/ja.d.ts +14 -0
- package/dist/locales/ko.d.ts +14 -0
- package/locales/en.esm.js +14 -0
- package/locales/en.esm.js.map +1 -1
- package/locales/en.js +14 -0
- package/locales/en.js.map +1 -1
- package/locales/ja.esm.js +14 -0
- package/locales/ja.esm.js.map +1 -1
- package/locales/ja.js +14 -0
- package/locales/ja.js.map +1 -1
- package/locales/ko.esm.js +14 -0
- package/locales/ko.esm.js.map +1 -1
- package/locales/ko.js +14 -0
- package/locales/ko.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { ko } from '../../locales/ko';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { ModalProps } from '../modal';
|
|
4
|
+
import { PaginationProps } from '../pagination';
|
|
5
|
+
export interface CommonComponentProps {
|
|
6
|
+
modal?: Pick<ModalProps, 'fill' | 'dense'>;
|
|
7
|
+
pagination?: Pick<PaginationProps, 'siblingCount' | 'showArrowButton'>;
|
|
8
|
+
}
|
|
9
|
+
export interface ProviderConfig {
|
|
10
|
+
locale?: typeof ko;
|
|
11
|
+
components?: CommonComponentProps;
|
|
12
|
+
}
|
|
6
13
|
export declare const defaultProviderConfig: {
|
|
7
14
|
current: ProviderConfig;
|
|
8
15
|
};
|
|
@@ -12,4 +19,3 @@ export declare const providerContext: React.Context<ProviderConfig>;
|
|
|
12
19
|
export type ProviderProps = ProviderConfig;
|
|
13
20
|
export declare const useProviderConfig: () => ProviderConfig;
|
|
14
21
|
export declare const Provider: ({ children, ...props }: PropsWithChildren<ProviderProps>) => JSX.Element;
|
|
15
|
-
export {};
|