Skip to content

Commit

Permalink
chore: project preview testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Callin Mullaney committed Sep 12, 2024
1 parent c67181d commit 320f561
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
21 changes: 20 additions & 1 deletion config/emulsify-core/storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
// export global parameters as config overrides.
// This is useful for reorganizing your stories.
// See https://storybook.js.org/docs/writing-stories/parameters#story-parameters.
export const projectParams = '';
export const overrideParams = {
actions: { argTypesRegex: '^on[A-Z].*' },
layout: 'fullscreen',
options: {
storySort: {
method: 'alphabetical',
order: [
'Docs',
['Intro', '*'],
'Tokens',
['Readme', '*'],
'Components',
['Readme', '*'],
'Layout',
['Readme', '*'],
],
locales: 'en-US',
},
},
};
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
]
},
"dependencies": {
"@emulsify/core": "^2.1.0",
"@emulsify/core": "https://github.com/emulsify-ds/emulsify-core.git#customizable-preview-config",
"@percy/cli": "^1.28.2",
"@percy/storybook": "^5.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion project.emulsify.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"project": {
"platform": "",
"platform": "drupal",
"name": "emulsify-ui-kit",
"machineName": "emulsify-ui-kit"
},
Expand Down
3 changes: 0 additions & 3 deletions src/util/storybook-components.scss

This file was deleted.

0 comments on commit 320f561

Please sign in to comment.