diff --git a/src/cells/AntdCellCardLayout.tsx b/src/cells/AntdCellCardLayout.tsx index bfbef0c..23ef3a9 100644 --- a/src/cells/AntdCellCardLayout.tsx +++ b/src/cells/AntdCellCardLayout.tsx @@ -10,7 +10,7 @@ import React from 'react'; import { rankWith, RankedTester, uiTypeIs } from '../testers'; -import { get } from 'lodash'; +import { get } from 'lodash-es'; import { ViewElement } from '../models/uischema'; import { Card } from 'antd'; diff --git a/src/cells/AntdCellHorizontalLayout.tsx b/src/cells/AntdCellHorizontalLayout.tsx index 2a7af8a..df63382 100644 --- a/src/cells/AntdCellHorizontalLayout.tsx +++ b/src/cells/AntdCellHorizontalLayout.tsx @@ -14,7 +14,7 @@ import { DispatchCell } from '../DispatchCell'; import { DispatchCellProps } from '../Form'; import { ViewElement } from '../models/uischema'; import { rankWith, uiTypeIs, RankedTester } from '../testers'; -import { get } from 'lodash'; +import { get } from 'lodash-es'; import { Idx } from '../util/layout'; diff --git a/stories/AntdCardCell.stories.tsx b/stories/AntdCardCell.stories.tsx index a00d0ab..891fdba 100644 --- a/stories/AntdCardCell.stories.tsx +++ b/stories/AntdCardCell.stories.tsx @@ -31,53 +31,6 @@ const antdRenderers: RendererRegistryEntry[] = [ ...antdDataControlRenderers, ]; -const cardData = [ - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '2', - name: 'test2', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, - { - '@id': '1', - name: 'test1', - imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', - }, -]; const viewDescrs = [ { '@id': 'mktp:CardCellViewDescr',