You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added adatper for ANTD v6 as subpackage
- Added adapter for ANTD v5 as subpackage
- Updated Documentation, API, and Demo on the library website
- Updated README
<li><ItemTitle><InlineCode>@vojtechportes/react-query-builder/mui/v9</InlineCode>:</ItemTitle> Recommended Material UI adapter for new projects.</li>
535
574
<li><ItemTitle><InlineCode>@vojtechportes/react-query-builder/mui/v7</InlineCode>:</ItemTitle> Material UI adapter for applications still on MUI 7.</li>
575
+
<li><ItemTitle><InlineCode>@vojtechportes/react-query-builder/antd/v6</InlineCode>:</ItemTitle> Recommended Ant Design adapter for new projects.</li>
576
+
<li><ItemTitle><InlineCode>@vojtechportes/react-query-builder/antd/v5</InlineCode>:</ItemTitle> Ant Design adapter for applications still on Ant Design 5.</li>
536
577
</List>
537
578
<SectionTitle>What adapters export</SectionTitle>
538
579
<List>
539
580
<li><ItemTitle><InlineCode>components</InlineCode>:</ItemTitle> A ready-to-pass object that matches <InlineCode>IBuilderComponentsProps</InlineCode>.</li>
540
-
<li><ItemTitle>Individual mapped components:</ItemTitle> Named exports such as <InlineCode>MuiSelect</InlineCode>and <InlineCode>MuiInput</InlineCode> for partial customization.</li>
541
-
<li><ItemTitle><InlineCode>createMuiComponents</InlineCode>:</ItemTitle>Helper for merging the adapter defaults with local overrides while preserving the nested <InlineCode>form</InlineCode> mapping.</li>
581
+
<li><ItemTitle>Individual mapped components:</ItemTitle> Named exports such as <InlineCode>MuiSelect</InlineCode>, <InlineCode>MuiInput</InlineCode>, <InlineCode>AntdSelect</InlineCode>, and <InlineCode>AntdInput</InlineCode> for partial customization.</li>
582
+
<li><ItemTitle><InlineCode>createMuiComponents</InlineCode> and <InlineCode>createAntdComponents</InlineCode>:</ItemTitle>Helpers for merging adapter defaults with local overrides while preserving the nested <InlineCode>form</InlineCode> mapping.</li>
542
583
</List>
543
584
<SectionTitle>Relationship to the Components API</SectionTitle>
544
585
<List>
545
586
<li>Adapters are built on top of the same override surface documented in <TextLinkto="/api/components">Components</TextLink>.</li>
546
587
<li>They are a convenience layer, not a separate rendering engine.</li>
547
-
<li><InlineCode>createMuiComponents(base, overrides)</InlineCode>returns a merged <InlineCode>IBuilderComponentsProps</InlineCode>object and handles shallow top-level merging plus nested <InlineCode>form</InlineCode> merging for you.</li>
588
+
<li><InlineCode>createMuiComponents(base, overrides)</InlineCode>and <InlineCode>createAntdComponents(base, overrides)</InlineCode> return merged <InlineCode>IBuilderComponentsProps</InlineCode>objects and handle shallow top-level merging plus nested <InlineCode>form</InlineCode> merging for you.</li>
0 commit comments