Update stepper token

pull/6011/head
Cagatay Civici 2024-07-02 10:56:49 +03:00
parent 2cb2495148
commit a6547b5e32
5 changed files with 4 additions and 24 deletions

View File

@ -179,7 +179,7 @@ const theme = ({ dt }) => `
} }
.p-stepitem:last-of-type .p-steppanel { .p-stepitem:last-of-type .p-steppanel {
padding: ${dt('stepper.steppanel.last.padding')}; padding-inline-start: ${dt('stepper.step.number.size')};
} }
`; `;

View File

@ -48,9 +48,6 @@ export default {
steppanel: { steppanel: {
background: '{content.background}', background: '{content.background}',
color: '{content.color}', color: '{content.color}',
padding: '0 0 0 1rem', padding: '0 0 0 1rem'
last: {
padding: '0 0 0 1.625rem'
}
} }
}; };

View File

@ -48,9 +48,6 @@ export default {
steppanel: { steppanel: {
background: '{content.background}', background: '{content.background}',
color: '{content.color}', color: '{content.color}',
padding: '0 0 0 1rem', padding: '0 0 0 1rem'
last: {
padding: '0 0 0 1.625rem'
}
} }
}; };

View File

@ -48,9 +48,6 @@ export default {
steppanel: { steppanel: {
background: '{content.background}', background: '{content.background}',
color: '{content.color}', color: '{content.color}',
padding: '0 0 0 1rem', padding: '0 0 0 1rem'
last: {
padding: '0 0 0 1.625rem'
}
} }
}; };

View File

@ -253,16 +253,5 @@ export interface StepperDesignTokens extends ColorSchemeDesignToken<StepperDesig
* @designToken stepper.steppanel.padding * @designToken stepper.steppanel.padding
*/ */
padding?: string; padding?: string;
/**
* Last of steppanel
*/
last?: {
/**
* Last padding of steppanel
*
* @designToken stepper.steppanel.last.padding
*/
padding?: string;
};
}; };
} }