@@ -3,7 +3,7 @@ import { CheckmarkUnselected, CheckmarkSelected } from "./index";
33import { InfoIcon , SuccessIcon , WarningIcon , ErrorIcon } from "./ChipIcons" ;
44import { tableData } from "./tableData" ;
55import { ChipProps } from "./ChipProps" ;
6- import { Typography } from "./Typography " ;
6+ import { TypographyNext as Typography } from "@equinor/eds-core-react " ;
77
88type Props = {
99 className ?: string ;
@@ -78,9 +78,12 @@ export const DataTable = ({
7878 ) : (
7979 < Typography
8080 as = "span"
81+ family = "ui"
8182 size = "md"
82- isBaselineAligned = { false }
83+ baseline = "center"
84+ lineHeight = "default"
8385 weight = "bolder"
86+ tracking = "normal"
8487 >
8588 { column . label }
8689 </ Typography >
@@ -115,7 +118,15 @@ export const DataTable = ({
115118
116119 { column . id === "id" && (
117120 < div className = "h-5 grow shrink basis-0" >
118- < Typography as = "span" size = "md" isBaselineAligned = { false } >
121+ < Typography
122+ as = "span"
123+ family = "ui"
124+ size = "md"
125+ baseline = "center"
126+ lineHeight = "default"
127+ weight = "normal"
128+ tracking = "normal"
129+ >
119130 { row . id }
120131 </ Typography >
121132 </ div >
@@ -124,15 +135,27 @@ export const DataTable = ({
124135 { column . id === "person" && (
125136 < div className = "inline-flex flex-col items-start justify-center h-8 grow shrink basis-0" >
126137 < div className = "self-stretch h-4" >
127- < Typography as = "span" size = "md" isBaselineAligned = { false } >
138+ < Typography
139+ as = "span"
140+ family = "ui"
141+ size = "md"
142+ baseline = "center"
143+ lineHeight = "default"
144+ weight = "normal"
145+ tracking = "normal"
146+ >
128147 { row . person . name }
129148 </ Typography >
130149 </ div >
131150 < div className = "self-stretch h-4" >
132151 < Typography
133152 as = "span"
153+ family = "ui"
134154 size = "sm"
135- isBaselineAligned = { false }
155+ baseline = "center"
156+ lineHeight = "default"
157+ weight = "normal"
158+ tracking = "normal"
136159 className = "underline"
137160 >
138161 { row . person . email }
@@ -143,15 +166,31 @@ export const DataTable = ({
143166
144167 { column . id === "position" && (
145168 < div className = "h-5 grow shrink basis-0" >
146- < Typography as = "span" size = "md" isBaselineAligned = { false } >
169+ < Typography
170+ as = "span"
171+ family = "ui"
172+ size = "md"
173+ baseline = "center"
174+ lineHeight = "default"
175+ weight = "normal"
176+ tracking = "normal"
177+ >
147178 { row . position }
148179 </ Typography >
149180 </ div >
150181 ) }
151182
152183 { column . id === "location" && (
153184 < div className = "h-5 grow shrink basis-0" >
154- < Typography as = "span" size = "md" isBaselineAligned = { false } >
185+ < Typography
186+ as = "span"
187+ family = "ui"
188+ size = "md"
189+ baseline = "center"
190+ lineHeight = "default"
191+ weight = "normal"
192+ tracking = "normal"
193+ >
155194 { row . location }
156195 </ Typography >
157196 </ div >
0 commit comments