fix: align Storybook sample copy with content guidelines - #1461
fix: align Storybook sample copy with content guidelines#1461georgewrmarshall wants to merge 4 commits into
Conversation
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Accidental PR review scaffolding
- Removed the ephemeral screenshot scripts and the entire top-level images/ directory from the repo in a single commit.
Or push these changes by commenting:
@cursor push c5d6ceb89c
Preview (c5d6ceb89c)
diff --git a/images/README.md b/images/README.md
deleted file mode 100644
--- a/images/README.md
+++ /dev/null
@@ -1,10 +1,0 @@
-# PR #1461 story screenshots
-
-Before/after Storybook captures for copy-guidelines story updates.
-
-- **Before:** [main Storybook](https://metamask.github.io/metamask-design-system) (React) and `/react-native`
-- **After:** [PR preview](https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/index.html)
-
-Gist upload was unavailable (GitHub App token lacks `gist` scope). Images are hosted on this branch under `images/`.
-
-Regenerate: `node scripts/capture-story-screenshots.mjs`
\ No newline at end of file
diff --git a/images/manifest.json b/images/manifest.json
deleted file mode 100644
--- a/images/manifest.json
+++ /dev/null
@@ -1,1135 +1,0 @@
-[
- {
- "filePath": "packages/design-system-react-native/src/components/BannerAlert/BannerAlert.stories.tsx",
- "storyName": "OnClose",
- "storyId": "components-banneralert--on-close",
- "component": "BannerAlert",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-BannerAlert-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-BannerAlert-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-banneralert--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-banneralert--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/BannerBase/BannerBase.stories.tsx",
- "storyName": "OnClose",
- "storyId": "components-bannerbase--on-close",
- "component": "BannerBase",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-BannerBase-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-BannerBase-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-bannerbase--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-bannerbase--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/BottomSheetHeader/BottomSheetHeader.stories.tsx",
- "storyName": "Default",
- "storyId": "components-bottomsheetheader--default",
- "component": "BottomSheetHeader",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-BottomSheetHeader-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-BottomSheetHeader-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-bottomsheetheader--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-bottomsheetheader--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/Button.stories.tsx",
- "storyName": "Default",
- "storyId": "components-button--default",
- "component": "Button",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Button-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Button-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/Button.stories.tsx",
- "storyName": "IsLoading",
- "storyId": "components-button--is-loading",
- "component": "Button",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Button-IsLoading-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Button-IsLoading-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button--is-loading&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button--is-loading&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/Button.stories.tsx",
- "storyName": "WithStartAccessory",
- "storyId": "components-button--with-start-accessory",
- "component": "Button",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Button-WithStartAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Button-WithStartAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button--with-start-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button--with-start-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/Button.stories.tsx",
- "storyName": "WithEndAccessory",
- "storyId": "components-button--with-end-accessory",
- "component": "Button",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Button-WithEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Button-WithEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button--with-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button--with-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/Button.stories.tsx",
- "storyName": "WithStartAndEndAccessory",
- "storyId": "components-button--with-start-and-end-accessory",
- "component": "Button",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Button-WithStartAndEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Button-WithStartAndEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button--with-start-and-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button--with-start-and-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "Default",
- "storyId": "components-button-variants-buttonprimary--default",
- "component": "ButtonPrimary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonprimary--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonprimary--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "IsLoading",
- "storyId": "components-button-variants-buttonprimary--is-loading",
- "component": "ButtonPrimary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-IsLoading-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-IsLoading-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonprimary--is-loading&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonprimary--is-loading&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "WithStartAccessory",
- "storyId": "components-button-variants-buttonprimary--with-start-accessory",
- "component": "ButtonPrimary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithStartAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithStartAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonprimary--with-start-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonprimary--with-start-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "WithEndAccessory",
- "storyId": "components-button-variants-buttonprimary--with-end-accessory",
- "component": "ButtonPrimary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonprimary--with-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonprimary--with-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "WithStartAndEndAccessory",
- "storyId": "components-button-variants-buttonprimary--with-start-and-end-accessory",
- "component": "ButtonPrimary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithStartAndEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonPrimary-WithStartAndEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonprimary--with-start-and-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonprimary--with-start-and-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonSecondary/ButtonSecondary.stories.tsx",
- "storyName": "Default",
- "storyId": "components-button-variants-buttonsecondary--default",
- "component": "ButtonSecondary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonsecondary--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonsecondary--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonSecondary/ButtonSecondary.stories.tsx",
- "storyName": "IsLoading",
- "storyId": "components-button-variants-buttonsecondary--is-loading",
- "component": "ButtonSecondary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-IsLoading-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-IsLoading-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonsecondary--is-loading&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonsecondary--is-loading&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonSecondary/ButtonSecondary.stories.tsx",
- "storyName": "WithStartAccessory",
- "storyId": "components-button-variants-buttonsecondary--with-start-accessory",
- "component": "ButtonSecondary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithStartAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithStartAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-start-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-start-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonSecondary/ButtonSecondary.stories.tsx",
- "storyName": "WithEndAccessory",
- "storyId": "components-button-variants-buttonsecondary--with-end-accessory",
- "component": "ButtonSecondary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonSecondary/ButtonSecondary.stories.tsx",
- "storyName": "WithStartAndEndAccessory",
- "storyId": "components-button-variants-buttonsecondary--with-start-and-end-accessory",
- "component": "ButtonSecondary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithStartAndEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSecondary-WithStartAndEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-start-and-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttonsecondary--with-start-and-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonTertiary/ButtonTertiary.stories.tsx",
- "storyName": "Default",
- "storyId": "components-button-variants-buttontertiary--default",
- "component": "ButtonTertiary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttontertiary--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttontertiary--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonTertiary/ButtonTertiary.stories.tsx",
- "storyName": "IsLoading",
- "storyId": "components-button-variants-buttontertiary--is-loading",
- "component": "ButtonTertiary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-IsLoading-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-IsLoading-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttontertiary--is-loading&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttontertiary--is-loading&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonTertiary/ButtonTertiary.stories.tsx",
- "storyName": "WithStartAccessory",
- "storyId": "components-button-variants-buttontertiary--with-start-accessory",
- "component": "ButtonTertiary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithStartAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithStartAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttontertiary--with-start-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttontertiary--with-start-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonTertiary/ButtonTertiary.stories.tsx",
- "storyName": "WithEndAccessory",
- "storyId": "components-button-variants-buttontertiary--with-end-accessory",
- "component": "ButtonTertiary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttontertiary--with-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttontertiary--with-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Button/variants/ButtonTertiary/ButtonTertiary.stories.tsx",
- "storyName": "WithStartAndEndAccessory",
- "storyId": "components-button-variants-buttontertiary--with-start-and-end-accessory",
- "component": "ButtonTertiary",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithStartAndEndAccessory-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonTertiary-WithStartAndEndAccessory-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-button-variants-buttontertiary--with-start-and-end-accessory&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-button-variants-buttontertiary--with-start-and-end-accessory&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonBase/ButtonBase.stories.tsx",
- "storyName": "IsLoading",
- "storyId": "components-buttonbase--is-loading",
- "component": "ButtonBase",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonBase-IsLoading-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonBase-IsLoading-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonbase--is-loading&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonbase--is-loading&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonHero/ButtonHero.stories.tsx",
- "storyName": "Default",
- "storyId": "components-buttonhero--default",
- "component": "ButtonHero",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonHero-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonHero-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonhero--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonhero--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonHero/ButtonHero.stories.tsx",
- "storyName": "IsFullWidth",
- "storyId": "components-buttonhero--is-full-width",
- "component": "ButtonHero",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonHero-IsFullWidth-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonHero-IsFullWidth-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonhero--is-full-width&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonhero--is-full-width&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonHero/ButtonHero.stories.tsx",
- "storyName": "StartIconName",
- "storyId": "components-buttonhero--start-icon-name",
- "component": "ButtonHero",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonHero-StartIconName-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonHero-StartIconName-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonhero--start-icon-name&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonhero--start-icon-name&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonHero/ButtonHero.stories.tsx",
- "storyName": "EndIconName",
- "storyId": "components-buttonhero--end-icon-name",
- "component": "ButtonHero",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonHero-EndIconName-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonHero-EndIconName-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonhero--end-icon-name&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonhero--end-icon-name&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonHero/ButtonHero.stories.tsx",
- "storyName": "IsDisabled",
- "storyId": "components-buttonhero--is-disabled",
- "component": "ButtonHero",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonHero-IsDisabled-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonHero-IsDisabled-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonhero--is-disabled&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonhero--is-disabled&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/ButtonSemantic/ButtonSemantic.stories.tsx",
- "storyName": "Severity",
- "storyId": "components-buttonsemantic--severity",
- "component": "ButtonSemantic",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-ButtonSemantic-Severity-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-ButtonSemantic-Severity-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-buttonsemantic--severity&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-buttonsemantic--severity&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderBase/HeaderBase.stories.tsx",
- "storyName": "Default",
- "storyId": "components-headerbase--default",
- "component": "HeaderBase",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderBase-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderBase-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerbase--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerbase--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderStandard/HeaderStandard.stories.tsx",
- "storyName": "Default",
- "storyId": "components-headerstandard--default",
- "component": "HeaderStandard",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerstandard--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerstandard--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderStandard/HeaderStandard.stories.tsx",
- "storyName": "Subtitle",
- "storyId": "components-headerstandard--subtitle",
- "component": "HeaderStandard",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Subtitle-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Subtitle-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerstandard--subtitle&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerstandard--subtitle&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderStandard/HeaderStandard.stories.tsx",
- "storyName": "OnClose",
- "storyId": "components-headerstandard--on-close",
- "component": "HeaderStandard",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerstandard--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerstandard--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderStandard/HeaderStandard.stories.tsx",
- "storyName": "Children",
- "storyId": "components-headerstandard--children",
- "component": "HeaderStandard",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Children-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderStandard-Children-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerstandard--children&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerstandard--children&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/HeaderStandardAnimated/HeaderStandardAnimated.stories.tsx",
- "storyName": "OnClose",
- "storyId": "components-headerstandardanimated--on-close",
- "component": "HeaderStandardAnimated",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-HeaderStandardAnimated-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-HeaderStandardAnimated-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-headerstandardanimated--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-headerstandardanimated--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Input/Input.stories.tsx",
- "storyName": "Default",
- "storyId": "components-input--default",
- "component": "Input",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Input-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Input-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-input--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-input--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Label/Label.stories.tsx",
- "storyName": "Default",
- "storyId": "components-label--default",
- "component": "Label",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Label-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Label-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-label--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-label--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/RadioButton/RadioButton.stories.tsx",
- "storyName": "IsReadOnly",
- "storyId": "components-radiobutton--is-read-only",
- "component": "RadioButton",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-RadioButton-IsReadOnly-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-RadioButton-IsReadOnly-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-radiobutton--is-read-only&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-radiobutton--is-read-only&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/SensitiveText/SensitiveText.stories.tsx",
- "storyName": "Default",
- "storyId": "components-sensitivetext--default",
- "component": "SensitiveText",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-SensitiveText-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-SensitiveText-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-sensitivetext--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-sensitivetext--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/SensitiveText/SensitiveText.stories.tsx",
- "storyName": "IsHidden",
- "storyId": "components-sensitivetext--is-hidden",
- "component": "SensitiveText",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-SensitiveText-IsHidden-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-SensitiveText-IsHidden-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-sensitivetext--is-hidden&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-sensitivetext--is-hidden&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/TabEmptyState/TabEmptyState.stories.tsx",
- "storyName": "Default",
- "storyId": "components-tabemptystate--default",
- "component": "TabEmptyState",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-TabEmptyState-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-TabEmptyState-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-tabemptystate--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-tabemptystate--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/TabEmptyState/TabEmptyState.stories.tsx",
- "storyName": "OnAction",
- "storyId": "components-tabemptystate--on-action",
- "component": "TabEmptyState",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-TabEmptyState-OnAction-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-TabEmptyState-OnAction-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-tabemptystate--on-action&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-tabemptystate--on-action&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/TextButton/TextButton.stories.tsx",
- "storyName": "Default",
- "storyId": "components-textbutton--default",
- "component": "TextButton",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-TextButton-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-TextButton-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-textbutton--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-textbutton--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/TextButton/TextButton.stories.tsx",
- "storyName": "InlineWithText",
- "storyId": "components-textbutton--inline-with-text",
- "component": "TextButton",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-TextButton-InlineWithText-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-TextButton-InlineWithText-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-textbutton--inline-with-text&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-textbutton--inline-with-text&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Toast/Toast.stories.tsx",
- "storyName": "Default",
- "storyId": "components-toast--default",
- "component": "Toast",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Toast-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Toast-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-toast--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-toast--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Toast/Toast.stories.tsx",
- "storyName": "Title",
- "storyId": "components-toast--title",
- "component": "Toast",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Toast-Title-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Toast-Title-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-toast--title&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-toast--title&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Toast/Toast.stories.tsx",
- "storyName": "ActionButtonOnPress",
- "storyId": "components-toast--action-button-on-press",
- "component": "Toast",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Toast-ActionButtonOnPress-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Toast-ActionButtonOnPress-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-toast--action-button-on-press&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-toast--action-button-on-press&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Toast/Toast.stories.tsx",
- "storyName": "Spacing",
- "storyId": "components-toast--spacing",
- "component": "Toast",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Toast-Spacing-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Toast-Spacing-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-toast--spacing&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-toast--spacing&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react-native/src/components/Toast/Toast.stories.tsx",
- "storyName": "IncorrectUsage",
- "storyId": "components-toast--incorrect-usage",
- "component": "Toast",
- "rn": true,
- "beforePath": "/workspace/pr-screenshots/1461/rn-Toast-IncorrectUsage-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/rn-Toast-IncorrectUsage-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/react-native/iframe.html?id=components-toast--incorrect-usage&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/react-native/iframe.html?id=components-toast--incorrect-usage&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/BannerAlert/BannerAlert.stories.tsx",
- "storyName": "OnClose",
- "storyId": "react-components-banneralert--on-close",
- "component": "BannerAlert",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-BannerAlert-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-BannerAlert-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-banneralert--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-banneralert--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/BannerBase/BannerBase.stories.tsx",
- "storyName": "OnClose",
- "storyId": "react-components-bannerbase--on-close",
- "component": "BannerBase",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-BannerBase-OnClose-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-BannerBase-OnClose-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-bannerbase--on-close&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-bannerbase--on-close&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/Button.stories.tsx",
- "storyName": "IsDanger",
- "storyId": "react-components-button--is-danger",
- "component": "Button",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-Button-IsDanger-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-Button-IsDanger-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button--is-danger&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button--is-danger&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/Button.stories.tsx",
- "storyName": "IsInverse",
- "storyId": "react-components-button--is-inverse",
- "component": "Button",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-Button-IsInverse-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-Button-IsInverse-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button--is-inverse&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button--is-inverse&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/Button.stories.tsx",
- "storyName": "StartIconName",
- "storyId": "react-components-button--start-icon-name",
- "component": "Button",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-Button-StartIconName-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-Button-StartIconName-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button--start-icon-name&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button--start-icon-name&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/Button.stories.tsx",
- "storyName": "EndIconName",
- "storyId": "react-components-button--end-icon-name",
- "component": "Button",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-Button-EndIconName-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-Button-EndIconName-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button--end-icon-name&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button--end-icon-name&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/Button.stories.tsx",
- "storyName": "IsFullWidth",
- "storyId": "react-components-button--is-full-width",
- "component": "Button",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-Button-IsFullWidth-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-Button-IsFullWidth-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button--is-full-width&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button--is-full-width&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "Default",
- "storyId": "react-components-button-variants-buttonprimary--default",
- "component": "ButtonPrimary",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-Default-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-Default-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button-variants-buttonprimary--default&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button-variants-buttonprimary--default&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "IsDanger",
- "storyId": "react-components-button-variants-buttonprimary--is-danger",
- "component": "ButtonPrimary",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsDanger-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsDanger-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button-variants-buttonprimary--is-danger&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button-variants-buttonprimary--is-danger&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "IsInverse",
- "storyId": "react-components-button-variants-buttonprimary--is-inverse",
- "component": "ButtonPrimary",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsInverse-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsInverse-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button-variants-buttonprimary--is-inverse&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button-variants-buttonprimary--is-inverse&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "IsFullWidth",
- "storyId": "react-components-button-variants-buttonprimary--is-full-width",
- "component": "ButtonPrimary",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsFullWidth-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-IsFullWidth-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button-variants-buttonprimary--is-full-width&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button-variants-buttonprimary--is-full-width&viewMode=story"
- },
- {
- "filePath": "packages/design-system-react/src/components/Button/variants/ButtonPrimary/ButtonPrimary.stories.tsx",
- "storyName": "StartIconName",
- "storyId": "react-components-button-variants-buttonprimary--start-icon-name",
- "component": "ButtonPrimary",
- "rn": false,
- "beforePath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-StartIconName-before.png",
- "afterPath": "/workspace/pr-screenshots/1461/react-ButtonPrimary-StartIconName-after.png",
- "beforeUrl": "https://metamask.github.io/metamask-design-system/iframe.html?id=react-components-button-variants-buttonprimary--start-icon-name&viewMode=story",
- "afterUrl": "https://diuv6g5fj9pvx.cloudfront.net/metamask-design-system/32990895416/storybook-build/iframe.html?id=react-components-button-variants-buttonprimary--start-icon-name&viewMode=story"
- },
- {You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit aaf9f71. Configure here.
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
|
Screenshot hosting update: The temporary Next step: upload before/after Storybook captures to a gist named images and refresh those comments. This requires |
|
Screenshot hosting fixed: Inline before/after images in the Files changed tab now point at commit Example URL pattern: |
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
For the sample text here that has "Your deposit of USDC is been confirmed" -- can we adjust to "USDC deposited into Account 1"
There was a problem hiding this comment.
There was a problem hiding this comment.
Before / after Storybook screenshots
Copy updates in this file (main vs PR preview).
Default
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsDanger
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsInverse
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsFullWidth
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
StartIconName
| Before (main) | After (PR) |
|---|---|
EndIconName
| Before (main) | After (PR) |
|---|---|
IsLoading
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsDisabled
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
There was a problem hiding this comment.
There was a problem hiding this comment.
Before / after Storybook screenshots
Copy updates in this file (main vs PR preview).
Default
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsDanger
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsInverse
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsFullWidth
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
StartIconName
| Before (main) | After (PR) |
|---|---|
EndIconName
| Before (main) | After (PR) |
|---|---|
IsLoading
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsDisabled
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
There was a problem hiding this comment.
Same note here RE Inverse Danger button
There was a problem hiding this comment.
Before / after Storybook screenshots
Copy updates in this file (main vs PR preview).
Default
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsFullWidth
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
StartIconName
| Before (main) | After (PR) |
|---|---|
EndIconName
| Before (main) | After (PR) |
|---|---|
StartAccessory
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
EndAccessory
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
AccessibilityLoadingStates
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
IsDisabled
| Before (main) | After (PR) |
|---|---|
![]() |
![]() |
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
Same note here RE "is been confirmed" can we update to USDC deposited into Account 1
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
## **Description** Adds the MetaMask Content Design Style Guide as a Cursor rule for this design system, without changing component stories, tests, or default copy in this PR. The new rule at `.cursor/rules/content-guidelines.mdc` encodes sentence case, punctuation, voice/tone, terminology, and per-component copy patterns for stories, constants, README examples, and default alt / loading / accessibility strings. It is wired into `AGENTS.md`, `CLAUDE.md`, `docs/ai-agents.md`, and `.cursor/rules/component-documentation.md` so coding agents pick it up. **Split from #1461:** Copy fixes to stories, READMEs, tests, and component defaults remain in #1461. This PR is documentation and agent guidance only. Related: MetaMask/metamask-mobile#35256 ## **Related issues** Related: MetaMask/metamask-mobile#35256 ## **Manual testing steps** 1. Open `.cursor/rules/content-guidelines.mdc` and confirm it covers capitalization, punctuation, per-component patterns, voice/tone, and terminology for this repo's components. 2. Confirm `AGENTS.md`, `CLAUDE.md`, and `docs/ai-agents.md` reference the new rule. 3. Ask an AI assistant to write sample copy in a Storybook story and confirm it follows sentence case per the rule. ## **Screenshots/Recordings** N/A — documentation only. ### **Before** N/A ### **After** N/A ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. Made with [Cursor](https://cursor.com) Co-authored-by: Cursor <cursoragent@cursor.com>
Encode the MetaMask Content Design Style Guide as a Cursor rule for this design system, and update sample and default user-facing strings to sentence case and approved terminology. Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
Apply the content guidelines to leftover story, README, and test fixture strings such as button labels, modal body copy, and banner close copy. Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
Put the shortened accessibilityHint expectations on one line so lint passes. Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
f4da58d to
174fd43
Compare
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
There was a problem hiding this comment.
Looks like this one didn't pick up sentence case for "Success button"
There was a problem hiding this comment.
For the sample text here that has "Your deposit of USDC is been confirmed" -- can we adjust to "USDC deposited into Account 1"
There was a problem hiding this comment.
Think it missed Inverse Danger button
There was a problem hiding this comment.
Same note here RE Inverse Danger button
There was a problem hiding this comment.
Same note here RE "is been confirmed" can we update to USDC deposited into Account 1
📖 Storybook LinksCompare the preview for this pull request with the latest Storybooks from the 🔀 Pull Request Preview
🌳 Main Branch (Latest)
|
















































































































































































Description
Applies the MetaMask Content Design Style Guide to sample and default user-facing strings in this design system. The Cursor rule itself landed on
mainin #1462; this PR is copy fixes only (stories, tests, README/MDX examples, and a few component defaults).Changes include:
Start Trading→Start trading,Account Settings→Account settings,Added to Watchlist→Added to watchlist)Primary Button→Primary button,Screen Title→Screen title)"please"loading copy with"Loading...""Click here"with"View details"AvatarFaviconfallback alt from"Dapp logo"to"Site logo"ButtonBaseloading accessibility hint from"Button is currently loading, please wait"to"Button is currently loading"Changelog (consumer-facing):
@metamask/design-system-react:AvatarFavicondefault image alt is now"Site logo"whennameis omitted@metamask/design-system-react-native:ButtonBasedefault loadingaccessibilityHintno longer includes"please wait"Review evidence: File-level comments on changed
.stories.tsxfiles include before/after Storybook screenshots (images pinned to commitaaf9f719).Related issues
Manual testing steps
TabEmptyState,HeaderStandard,Toast,Buttonvariants).yarn workspace @metamask/design-system-react run testandyarn workspace @metamask/design-system-react-native run test.Screenshots/Recordings
Before/after screenshots are attached as file-level review comments on changed
.stories.tsxfiles (not committed to this branch).Before
See pinned images and main Storybook links in PR file comments.
After
See pinned images and PR preview links in PR file comments.
Pre-merge author checklist
Pre-merge reviewer checklist