diff --git a/packages/blade/.storybook/react/manager-head.html b/packages/blade/.storybook/react/manager-head.html index 81570b22d60..54f0f21b83a 100644 --- a/packages/blade/.storybook/react/manager-head.html +++ b/packages/blade/.storybook/react/manager-head.html @@ -12,6 +12,7 @@ --blade-surface-text-normal: rgba(19, 38, 68, 1); --blade-brand-gray: rgba(121, 135, 156, 0.18); --blade-brand-gray-light: rgba(121, 135, 156, 0.08); + --blade-border-color: #EFEFEF; } .search-field input { @@ -56,4 +57,9 @@ .sto-1va4tas { box-shadow: none !important; } + + .sto-rmwe9s { + box-shadow: none !important; + border-bottom: 1px solid var(--blade-border-color) !important; + } \ No newline at end of file diff --git a/packages/blade/docs/guides/Intro.stories.mdx b/packages/blade/docs/guides/Intro.stories.mdx index e20fd7ed436..25044d4e0ef 100644 --- a/packages/blade/docs/guides/Intro.stories.mdx +++ b/packages/blade/docs/guides/Intro.stories.mdx @@ -4,6 +4,7 @@ import { Meta } from '@storybook/addon-docs';

Blade Design System Logo): React.ReactElement => { + return ; +}; + type StoryPageWrapperTypes = { figmaURL?: { paymentTheme: string; @@ -90,98 +95,100 @@ const StoryPageWrapper = (props: StoryPageWrapperTypes): React.ReactElement => { const { showStorybookControls = true, showArgsTable = true } = props; return ( - - - {props.componentName} - - - - {props.componentDescription} - - - {componentMetaInfo?.releasedIn ? ( - - - - Release: v{componentMetaInfo.releasedIn} - - + + + + {props.componentName} + + + + {props.componentDescription} + - ) : null} - {props.note ? ( - - ) : null} - {figmaURL !== '#' ? ( - - ) : null} - {props.children} - {props.imports === '' ? null : ( - <> - Imports - - {props.imports - ? props.imports - : `import { ${props.componentName} } from '@razorpay/blade/components';\nimport type { ${props.componentName}Props } from '@razorpay/blade/components';`} - -
-
- - )} - {showStorybookControls ? ( - <> - Example - - {`This is the default ${props.componentName}. You can change the properties using the controls below.`} - - - {showArgsTable ? ( - <> - - Properties - {props.apiDecisionLink === '' || props.apiDecisionLink === null ? null : ( - - Check out{' '} - - API Decisions for {props.componentName} - - - )} - {props.propsDescription ? ( - // adding box with surface background so that when theme of storybook is changed, the alert doesn't become invisible - - - - ) : null} - - - - ) : null} + {componentMetaInfo?.releasedIn ? ( + + + + Release: v{componentMetaInfo.releasedIn} + + + + ) : null} + {props.note ? ( + + ) : null} + {figmaURL !== '#' ? ( + + ) : null} + {props.children} + {props.imports === '' ? null : ( + <> + Imports + + {props.imports + ? props.imports + : `import { ${props.componentName} } from '@razorpay/blade/components';\nimport type { ${props.componentName}Props } from '@razorpay/blade/components';`} + +
+
+ + )} + {showStorybookControls ? ( + <> + Example + + {`This is the default ${props.componentName}. You can change the properties using the controls below.`} + + + {showArgsTable ? ( + <> + + Properties + {props.apiDecisionLink === '' || props.apiDecisionLink === null ? null : ( + + Check out{' '} + + API Decisions for {props.componentName} + + + )} + {props.propsDescription ? ( + // adding box with surface background so that when theme of storybook is changed, the alert doesn't become invisible + + + + ) : null} + + + + ) : null} - - - ) : null} -
+ + + ) : null} +
+ ); };