@teamturing/react-kit 2.51.0 → 2.51.1

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.
@@ -8,7 +8,7 @@ type DescriptionListItemDescriptionType<T extends Record<string, any>> = {
8
8
  title: string | ReactNode;
9
9
  renderValue: (item: T) => ReactNode;
10
10
  };
11
- type Props<T extends Record<string, any>, TD extends Record<string, DescriptionListItemDescriptionType<T>> = {}> = {
11
+ type Props<T extends Record<string, any>, TD extends Record<string, DescriptionListItemDescriptionType<T>>> = {
12
12
  item: T;
13
13
  itemDescriptions: TD;
14
14
  picks: (keyof TD)[];
@@ -18,6 +18,6 @@ type Props<T extends Record<string, any>, TD extends Record<string, DescriptionL
18
18
  descriptionUnitSize?: GridUnitProps['size'];
19
19
  gapItem?: ResponsiveValue<SpaceKey>;
20
20
  } & Pick<GridProps, 'gapX' | 'gapY'> & Omit<ItemListProps<DescriptionListItemDescriptionType<T>>, 'items' | 'renderItem'>;
21
- declare const DescriptionList: <T extends Record<string, any>, TD extends Record<string, DescriptionListItemDescriptionType<T>> = {}>({ item, itemDescriptions, renderTitle, renderDescription, picks, gapX, gapY, gapItem, titleUnitSize, descriptionUnitSize, ...props }: Props<T, TD>) => import("react/jsx-runtime").JSX.Element;
21
+ declare const DescriptionList: <T extends Record<string, any>, TD extends Record<string, DescriptionListItemDescriptionType<T>>>({ item, itemDescriptions, renderTitle, renderDescription, picks, gapX, gapY, gapItem, titleUnitSize, descriptionUnitSize, ...props }: Props<T, TD>) => import("react/jsx-runtime").JSX.Element;
22
22
  export default DescriptionList;
23
23
  export type { Props as DescriptionListProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.51.0",
3
+ "version": "2.51.1",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "6d7c93197425ae82216518e407d5a57fda93d453"
69
+ "gitHead": "6e25674be3c1e5384e4b10c6be1245334282ff5b"
70
70
  }