Skip to content

feat(VSN-2270): update shared components with new design system styling

yahya.elmokhtari a demandé de fusionner feature/VSN-2270 vers develop

Summary

  • Update shared table, form, tab, and text components to align with the new design system introduced in VSN-2268
  • Rework column selector, table filter, and table head with refined styling
  • Add new truncated-text component for consistent text overflow handling
  • Resolve build errors from develop merge (import paths, obsolete props)

Changes

Updated: Table Components

  • table-filter — Reworked filter panel with new design tokens
  • table-head-custom — Updated header styling with refined borders and transitions
  • table-manager — Aligned with design system spacing and shadows
  • table-pagination-custom — Updated pagination styling
  • table-export-button, table-import-button, table-backend-export-button — Minor style alignment
  • maps-control-bar — Updated control bar styling
  • styles.ts — Updated shared table style constants

Updated: Column Selector

  • column-container — Reworked layout with new design tokens
  • column-selector — Updated modal styling
  • control-buttons — Refined button styling
  • sortable-item — Updated drag-and-drop item styling

Updated: Form Components

  • buttons-action — Updated save/cancel button styling
  • edit-export-buttons — Reworked with new design tokens
  • duplicable-field — Fixed import path and onAddEstablishment type signature
  • form-field — Updated field styling
  • multiForm-container — Aligned with new design system
  • avatar-uploader — Minor styling updates
  • etablissement-jours-field — Refined with new tokens
  • transport-schedule-field — Reworked schedule field layout and styling
  • style.ts — Updated shared form style constants

Updated: Other Shared Components

  • AddressMapSelector — Reworked with new design patterns
  • tabs-custom, tabbed-form — Pill-style tabs with neo-morphic container
  • truncated-uuid — Updated with new styling
  • create-infrastructure-modal — Removed obsolete PaperProps

New: Shared Components

  • src/shared/components/text/truncated-text.tsx — Reusable text truncation with tooltip

Fixes

  • duplicable-field.tsx — Fixed import path from removed shadcn location
  • client-tab.tsx, establishment-details.tsx, usager-form.tsx — Removed obsolete PaperProps from CreateInfrastructureModal

Stats

34 files changed

Rapports de requête de fusion