Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Mobile View in Intro Page of https://blade.razorpay.com/?path=/docs/guides-intro--docs #2379

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
setting max width to 100%
sarthak-kumar-shailendra committed Oct 17, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 4adc305c562b267ad3e0510a0920e9b8278dfade
4 changes: 2 additions & 2 deletions packages/blade/docs/guides/Intro.stories.mdx
Original file line number Diff line number Diff line change
@@ -33,14 +33,14 @@ Blade is the Cross-Platform, Open Source Design System that powers all of the [R

<div style={{ textAlign: 'left' }}>
<iframe
width="100%"
width="560"
height="315"
src="https://www.youtube.com/embed/GH3HA6xOFEw?si=QLihQEyooEbtRPgg"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
style={{ borderRadius: '8px' }}
style={{ borderRadius: '8px', maxWidth: '100%' }}
></iframe>
</div>


Unchanged files with check annotations Beta

return node;
});
} catch (error) {

Check warning on line 114 in packages/blade/codemods/brand-refresh/transformers/index.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the themeTokens prop in BladeProvider.`,
return node;
});
} catch (error) {

Check warning on line 178 in packages/blade/codemods/brand-refresh/transformers/index.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the color token value based on the context.`,
return path.node;
});
} catch (error) {

Check warning on line 214 in packages/blade/codemods/brand-refresh/transformers/index.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the ImportSpecifier from "paymentTheme"/"bankingTheme" to "bladeTheme".`,
},
})
.remove();
} catch (error) {

Check warning on line 22 in packages/blade/codemods/brand-refresh/transformers/migrate-actionlist-and-table.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while removing the "surfaceLevel" prop from "ActionList"/"Table".`,
return node;
});
} catch (error) {

Check warning on line 100 in packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the "size" prop in "Amount" component.`,
return node;
});
} catch (error) {

Check warning on line 132 in packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the "intent" prop in "Amount" component.`,
return node;
});
} catch (error) {

Check warning on line 163 in packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while updating the "prefix" prop in "Amount" component.`,
},
})
.remove();
} catch (error) {

Check warning on line 20 in packages/blade/codemods/brand-refresh/transformers/migrate-badge.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(`⛔️ ${file.path}: Oops! Ran into an issue while removing the fontWeight prop.`),
`\n${red(error.stack)}\n`,
return node;
});
} catch (error) {

Check warning on line 35 in packages/blade/codemods/brand-refresh/transformers/migrate-card.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(`⛔️ ${file.path}: Oops! Ran into an issue while updating the Card component.`),
`\n${red(error.stack)}\n`,
path.node.value.value = 'UPDATE_THIS_VALUE_WITH_A_NEW_COLOR_TOKEN';
return path.node;
});
} catch (error) {

Check warning on line 31 in packages/blade/codemods/brand-refresh/transformers/migrate-contrast-intent-color-props.ts

GitHub Actions / Validate Source Code

Implicit any in catch clause
console.error(
red(
`⛔️ ${file.path}: Oops! Ran into an issue while breaking the "contrast" prop from Typography Components:`,