@croquiscom/pds 0.47.4 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6c523d9: Provider Context config 컴포넌트 속성 제공
8
+
9
+ ## 0.47.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 0803997: Table GroupColumn stickyHeader 스타일 이슈 수정
14
+
3
15
  ## 0.47.4
4
16
 
5
17
  ### Patch Changes
@@ -16,6 +16,7 @@ export interface FileUploadProps {
16
16
  label?: ReactNode;
17
17
  /**
18
18
  * HTMLInputElement['accept']
19
+ * @default image/*
19
20
  */
20
21
  accept?: HTMLInputElement['accept'];
21
22
  disabled?: boolean;
@@ -1,8 +1,15 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { ko } from '../../locales/ko';
3
- type ProviderConfig = {
4
- locale: typeof ko;
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 {};
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import { TableColumnBase, SortDirection } from './types';
3
- export declare const COLUMNS_MIN_WIDTH = 48;
3
+ export declare const COLUMN_MIN_WIDTH = 48;
4
+ export declare const COLUMN_MIN_HEIGHT = 48;
4
5
  interface TableColProps extends TableColumnBase {
5
6
  id: string;
6
7
  fixedColWidth?: number;
8
+ groupColumn?: boolean;
7
9
  stickyHeader?: boolean;
8
10
  sortBy?: string;
9
11
  sortDirection?: SortDirection;