Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6028549 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
passbolt-github committed Sep 30, 2024
1 parent a8f05bd commit 6b22cf4
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,4 +363,4 @@



window['STORIES'] = [{"titlePrefix":"","directory":"./.storybook/stories","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:\\.storybook\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./.storybook/stories","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:\\.storybook\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.ec146caa.iframe.bundle.js"></script><script src="89.c206602e.iframe.bundle.js"></script><script src="main.5517b39d.iframe.bundle.js"></script></body></html>
window['STORIES'] = [{"titlePrefix":"","directory":"./.storybook/stories","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:\\.storybook\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./.storybook/stories","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:\\.storybook\\/stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.ec146caa.iframe.bundle.js"></script><script src="89.c206602e.iframe.bundle.js"></script><script src="main.3ec40ada.iframe.bundle.js"></script></body></html>

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1727688392016,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.7.0"},"language":"javascript","storybookPackages":{},"framework":{},"addons":{"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-essentials":{"options":{"backgrounds":false},"version":"6.5.16"}}}
{"generatedAt":1727707024769,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.7.0"},"language":"javascript","storybookPackages":{},"framework":{},"addons":{"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-essentials":{"options":{"backgrounds":false},"version":"6.5.16"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ class DisplayUserDetailsAccountRecovery extends React.Component {
{this.isAccountRecoveryPending &&
<Icon name="exclamation" baseline={true}/>
}
{this.state.open && <Icon name="caret-down"/>}
</span>
{this.state.open && <Icon name="caret-down"/>}
{!this.state.open && <Icon name="caret-right"/>}
</button>
</h4>
Expand Down
2 changes: 1 addition & 1 deletion react-extension/contexts/LoadingContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class LoadingContextProvider extends React.Component {
return {
counter: 0, // The number of loading processes
add: () => { this.setState({counter: this.state.counter + 1}); }, // Add a loading process
remove: () => { this.setState({counter: Math.max(this.state.counter - 1, 0)}); } // Remove a loading process
remove: () => { this.setState({counter: Math.min(this.state.counter - 1, 0)}); } // Remove a loading process
};
}

Expand Down
2 changes: 1 addition & 1 deletion react-extension/contexts/LoadingContext.test.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export const defaultLoadingContext = (data = {}) => {
return {
counter: _counter,
add: jest.fn().mockImplementation(() => _counter++),
remove: jest.fn().mockImplementation(() => { _counter = Math.max(_counter - 1, 0); }),
remove: jest.fn().mockImplementation(() => { _counter = Math.min(_counter - 1, 0); }),
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ class DisplayUserDetailsAccountRecovery extends React.Component {
{this.isAccountRecoveryPending &&
<Icon name="exclamation" baseline={true}/>
}
{this.state.open && <Icon name="caret-down"/>}
</span>
{this.state.open && <Icon name="caret-down"/>}
{!this.state.open && <Icon name="caret-right"/>}
</button>
</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class LoadingContextProvider extends React.Component {
return {
counter: 0, // The number of loading processes
add: () => { this.setState({counter: this.state.counter + 1}); }, // Add a loading process
remove: () => { this.setState({counter: Math.max(this.state.counter - 1, 0)}); } // Remove a loading process
remove: () => { this.setState({counter: Math.min(this.state.counter - 1, 0)}); } // Remove a loading process
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export const defaultLoadingContext = (data = {}) => {
return {
counter: _counter,
add: jest.fn().mockImplementation(() => _counter++),
remove: jest.fn().mockImplementation(() => { _counter = Math.max(_counter - 1, 0); }),
remove: jest.fn().mockImplementation(() => { _counter = Math.min(_counter - 1, 0); }),
};
};

0 comments on commit 6b22cf4

Please sign in to comment.