ant-design/components/config-provider/__tests__
zhoulixiang 6ed0254ad5
feat: Add classNames and styles prop for card (#46811)
* feat: support classNames and styles for card

* feat: add lost info

* docs: update context of card

* feat: optimize classNames and styles code of card

* test: update card test case

* feat: remove headWrapper

* test: correct test

* feat: remove redundant snapshot

* feat: update config provider for card

* feat: update classNames and styles of card

* feat: add warning for headStyle and bodyStyle of card

* test: replace bodyStyle to styles.body in demo of flex

* docs: add jsDoc about deprecated for headStyle and bodyStyle

* snap: update table counts of card from 3 to 4

* docs: update version for styles and classnames of card

---------

Signed-off-by: zhoulixiang <18366276315@163.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-01-30 15:00:25 +08:00
..
__snapshots__ feat: New Picker (#46982) 2024-01-29 15:34:48 +08:00
button.test.tsx chore: fix lint (#43873) 2023-07-28 16:17:43 +08:00
components.test.tsx locale: rm PageHeader locale (#47163) 2024-01-26 16:00:58 +08:00
container.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
cssinjs.test.tsx style: Button support gradient background (#46192) 2023-12-01 23:25:46 +08:00
form.test.tsx fix: ConfigProvider merge form validateMessages not inheriting from parent bug (#43239) 2023-07-06 15:33:33 +08:00
image.test.ts feat: component token support algorithm (#43810) 2023-07-27 11:31:38 +08:00
index.test.tsx feat: ConfigProvider support config warning level (#44809) 2023-09-13 11:49:30 +08:00
locale.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
memo.test.tsx locale: rm PageHeader locale (#47163) 2024-01-26 16:00:58 +08:00
nonce.test.tsx fix: CSP nonce attribute should be set to all the style tags (#45326) (#45334) 2023-10-13 23:14:49 +08:00
pagination.test.tsx feat: Config provider pagination showSizeChanger (#35750) 2022-05-26 17:14:05 +08:00
popup.test.tsx type: React.forwardRef type optimization (#43610) 2023-07-18 12:18:51 +08:00
static.test.ts feat: ConfigProvider.config support theme config (#42473) 2023-05-18 23:53:34 +08:00
style.test.tsx feat: Add classNames and styles prop for card (#46811) 2024-01-30 15:00:25 +08:00
target.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
theme.test.tsx feat: Button support lineHeight token (#46936) 2024-01-12 15:03:03 +08:00
useConfig.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
useSize.test.tsx refactor: add useSize replace React.useContext (#42282) 2023-05-12 14:53:47 +08:00
wave.test.tsx feat: wave effect config (#43784) 2023-07-25 16:29:47 +08:00