Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
115 stars 70 forks source link

Replace material-ui text inputs (Input, TextField) with TextField from design system in data modelling tool #8768

Closed nkylstad closed 2 years ago

nkylstad commented 2 years ago

Description

Replace use of material-ui text input components (Input, TextField, etc) with the TextField component from @altinn/altinn-design-system package.

Additional Information

Most relevant component to look at will be SchemaInspector, this is where the different input fields are rendered.

Design for data modelling tool is here: https://www.figma.com/file/gcPleymptjzTkoczDJegrJ/Altinn-Studio-Verkt%C3%B8y?node-id=39%3A4587

Tasks

Acceptance Criterias

mijohansen commented 2 years ago

Jeg legger denne tilbake. @altinn/altinn-design-system burde vært flyttet til npmjs før vi setter denne avhengigheten for å unngå ekstra kompleksitet.

haakemon commented 2 years ago

@mijohansen @altinn/altinn-design-system is now on the official npm feed as of version 0.5.7. This does require React 18 though, so we need to do that upgrade as well before we can start using it.