From 450cc8d7bd53b5b38b8bd3c65d270017b02b3ffd Mon Sep 17 00:00:00 2001 From: David Date: Mon, 14 Sep 2026 19:13:54 +0200 Subject: [PATCH] feat(ui): agregar variante "card" a varios editores de cliente y ajustar clase en RdxPageContent --- .../update/ui/editor/customer-additional-config-fields.tsx | 1 + .../src/web/update/ui/editor/customer-address-editor.tsx | 1 + .../src/web/update/ui/editor/customer-basic-info-editor.tsx | 1 + .../src/web/update/ui/editor/customer-contact-fields.tsx | 1 + .../src/web/update/ui/editor/customer-fiscal-editor.tsx | 1 + .../src/web/update/ui/pages/customer-update-page.tsx | 2 +- packages/rdx-ui/src/components/form/switch-field.tsx | 5 +++-- packages/rdx-ui/src/components/layout/rdx-page-content.tsx | 2 +- 8 files changed, 10 insertions(+), 4 deletions(-) diff --git a/modules/customers/src/web/update/ui/editor/customer-additional-config-fields.tsx b/modules/customers/src/web/update/ui/editor/customer-additional-config-fields.tsx index 09785b7b..d2b4a5b8 100644 --- a/modules/customers/src/web/update/ui/editor/customer-additional-config-fields.tsx +++ b/modules/customers/src/web/update/ui/editor/customer-additional-config-fields.tsx @@ -20,6 +20,7 @@ export const CustomerAdditionalConfigEditor = ({ description={t("form_groups.preferences.description")} icon={} title={t("form_groups.preferences.title")} + variant="card" > } title={t("form_groups.address.title")} + variant="card" > } title={t("form_groups.basic_info.title")} + variant="card" > } title={t("form_groups.contact_info.title")} + variant="card" > } title={t("form_groups.fiscal_info.title")} + variant="card" > { ({ name={name} render={({ field, fieldState }) => { const hasError = Boolean(fieldState.error); - return ( diff --git a/packages/rdx-ui/src/components/layout/rdx-page-content.tsx b/packages/rdx-ui/src/components/layout/rdx-page-content.tsx index c5ae0686..35e516f0 100644 --- a/packages/rdx-ui/src/components/layout/rdx-page-content.tsx +++ b/packages/rdx-ui/src/components/layout/rdx-page-content.tsx @@ -32,7 +32,7 @@ export const RdxPageContent = ({ if (!aside) { return (
{children}