diff --git a/.storybook/components/SystemPropsTable/SystemPropsTable.tsx b/.storybook/components/SystemPropsTable/SystemPropsTable.tsx index 02baefe5..e74ab715 100644 --- a/.storybook/components/SystemPropsTable/SystemPropsTable.tsx +++ b/.storybook/components/SystemPropsTable/SystemPropsTable.tsx @@ -25,10 +25,10 @@ const getStoryTitleAndDesignTokenLabelByPropName = ( if (Object.keys(spacingSystemProps).includes(propName) || ['gap', 'gapX', 'gapY'].includes(propName)) { designTokenName = 'spacing'; } - if (['width', 'minWidth', 'maxWidth'].includes(propName)) { + if (['width'].includes(propName)) { designTokenName = 'width'; } - if (['height', 'minHeight', 'maxHeight'].includes(propName)) { + if (['height'].includes(propName)) { designTokenName = 'height'; } diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 1f0d6a7a..c36e22a2 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,6 +1,6 @@ - +