-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I9527 storybook migration part4 (#305)
* pkp/pkp-lib#9527 Form fields migrated to storybook * pkp/pkp-lib#9527 Migrate ListPanel components to storybok * pkp/pkp-lib#9527 Page components migrated to storybook * pkp/pkp-lib#9527 Make initPageConfig as props for better documentation * pkp/pkp-lib#9527 Create defineComponentStore to hide implementation details for stores that needs to follow component lifecycle * pkp/pkp-lib#9527 Adjust size for modal to be screenshoted * pkp/pkp-lib#9527 Add margin to stories to properly see borders/shadows * pkp/pkp-lib#9527 Move global dialog to decorators * pkp/pkp-lib#9527 Tweak padding for better snapshoting * pkp/pkp-lib#9527 Adjust default view port to get full desktop layouts * pkp/pkp-lib#9527 Add rtl snapshoting * pkp/pkp-lib#9527 Activate rtl snapshots * pkp/pkp-lib#9527 using addons-themes for ltr/rtl, instead of dedicated addons to handle compatibility with modes * pkp/pkp-lib#9527 Apply rtl to storybook root to prevent breaking layout in some cases * pkp/pkp-lib#9527 reenable other decorators * pkp/pkp-lib#9527 Address RTL issues for 'screenreader only' styling, which was creating additional space * pkp/pkp-lib#9527 To cover modals/dialogs, move dir attribute to body * pkp/pkp-lib#9527 Same source of the truth for dir rtl/ltr * pkp/pkp-lib#9527 Adjust viewport to xl * pkp/pkp-lib#9527 fix composer rtl issue * pkp/pkp-lib#9527 Attempt to stabilize StatsPage data * pkp/pkp-lib#9527 stabilize table data * pkp/pkp-lib#9527 Trigger build to verify it has stable snapshots. * pkp/pkp-lib#9527 move components to the same category for now * pkp/pkp-lib#9527 Stabilize stats page for snapshots * pkp/pkp-lib#9527 migrate to msw2, add some useFetch tests * pkp/pkp-lib#9527 stabilize SelectReviewerListPanel stories
- Loading branch information
1 parent
779060f
commit 5854171
Showing
242 changed files
with
14,527 additions
and
1,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export const allModes = { | ||
desktop: { | ||
viewport: 'large', | ||
theme: 'ltr', | ||
}, | ||
'desktop rtl': { | ||
viewport: 'large', | ||
theme: 'rtl', | ||
}, | ||
// for snapshotting scrollable areas with all content, like modals | ||
desktopLargeHeight: { | ||
viewport: 'largeHeight', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.