Skip to content

Commit

Permalink
built library and storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakher Masri authored and Zakher Masri committed Aug 1, 2022
1 parent fdfc23f commit eeddf27
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 13 deletions.
7 changes: 1 addition & 6 deletions src/blocks/AuthForms/CodeConfirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ export const CodeConfirmation = (props) => {
/>
)}
rules={{
required: props.texts.emailRequiredText,
pattern: {
value:
/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
message: props.texts.emailInvalidText
}
required: props.texts.codeRequiredText
}}
/>

Expand Down
2 changes: 1 addition & 1 deletion src/stories/BlocksStories/Auth/Confirmation.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const Confirmation = (args) => {
texts={{
codeLabel: "Code",
codePlaceholder: "123456",
emailRequiredText: "Email is required",
codeRequiredText: "Code is required",
emailInvalidText: "Invalid email address",
passwordLabel: "Password",
passwordPlaceholder: "Enter password",
Expand Down
2 changes: 1 addition & 1 deletion storybook-static/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,4 +361,4 @@



window['STORIES'] = [{"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.9be73be4.iframe.bundle.js"></script><script src="vendors~main.826e89a1.iframe.bundle.js"></script><script src="main.2a7fa838.iframe.bundle.js"></script></body></html>
window['STORIES'] = [{"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.9be73be4.iframe.bundle.js"></script><script src="vendors~main.40879e99.iframe.bundle.js"></script><script src="main.066fa5c5.iframe.bundle.js"></script></body></html>
1 change: 1 addition & 0 deletions storybook-static/main.066fa5c5.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion storybook-static/main.2a7fa838.iframe.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion storybook-static/project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1655115891134,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"Next","packageName":"next","version":"12.1.0"},"packageManager":{"type":"yarn","version":"1.22.19"},"storybookVersion":"6.5.8","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.8"},"@storybook/addons":{"version":"6.5.8"},"@storybook/react":{"version":"6.5.8"},"@storybook/theming":{"version":"6.5.8"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.8"},"@storybook/addon-docs":{"version":"6.5.8"},"@storybook/addon-essentials":{"version":"6.5.8"}}}
{"generatedAt":1659329793790,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"Next","packageName":"next","version":"12.1.0"},"packageManager":{"type":"yarn","version":"1.22.19"},"storybookVersion":"6.5.8","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.8"},"@storybook/addons":{"version":"6.5.8"},"@storybook/react":{"version":"6.5.8"},"@storybook/storybook-deployer":{"version":"2.8.11"},"@storybook/theming":{"version":"6.5.8"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.8"},"@storybook/addon-docs":{"version":"6.5.8"},"@storybook/addon-essentials":{"version":"6.5.8"}}}

Large diffs are not rendered by default.

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

0 comments on commit eeddf27

Please sign in to comment.