diff --git a/packages/react/src/components/AccountOverview/AccountOverview.stories.mdx b/packages/react/src/components/AccountOverview/AccountOverview.stories.mdx index 0fdd2d50..d25cf22d 100644 --- a/packages/react/src/components/AccountOverview/AccountOverview.stories.mdx +++ b/packages/react/src/components/AccountOverview/AccountOverview.stories.mdx @@ -34,9 +34,9 @@ It includes the user's profile picture, name, email, account progress and accoun name="Overview" args={{ title: Welcome Mathew, - subheader: Manage your personal information, account security and privacy settings., + subheader: Manage your personal information, account security and privacy settings., user:{ - image: '/assets/images/avatar-john.svg', + image: 'assets/images/avatar-john.svg', name: 'Matthew', email: 'matthew@wso2.com' }, @@ -46,19 +46,19 @@ It includes the user's profile picture, name, email, account progress and accoun { title: 'Add your email address', description: 'You can add your email address to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: }, { title: 'Add your phone number', description: 'You can add your phone number to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: }, { title: 'Add your address', description: 'You can add your address to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: } ], @@ -85,7 +85,7 @@ import AccountOverview from '@oxygen-ui/react/AccountOverview';\n function Demo() { return Welcome Mathew, - subheader: Manage your personal information, account security and privacy settings., + subheader: Manage your personal information, account security and privacy settings., user:{ - image: '/assets/images/avatar-john.svg', + image: 'assets/images/avatar-john.svg', name: 'Matthew', email: 'matthew@wso2.com' }, @@ -116,19 +116,19 @@ function Demo() { { title: 'Add your email address', description: 'You can add your email address to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: }, { title: 'Add your phone number', description: 'You can add your phone number to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: }, { title: 'Add your address', description: 'You can add your address to your profile to receive notifications and updates from us.', - illustration: carousel illustration, + illustration: carousel illustration, action: } ], @@ -145,15 +145,15 @@ function Demo() { name="Complete" args={{ title: Welcome Mathew, - subheader: Manage your personal information, account security and privacy settings., + subheader: Manage your personal information, account security and privacy settings., user:{ - image: '/assets/images/avatar-john.svg', + image: 'assets/images/avatar-john.svg', name: 'Matthew', email: 'matthew@wso2.com' }, accountCompletionStepsTitle: "Complete your Profile. It's at 60%", - accountProgress: 100, - illustration: image + accountProgress: 100, + illustration: image }} > {Template.bind({})} diff --git a/packages/react/src/components/ActionCard/ActionCard.stories.mdx b/packages/react/src/components/ActionCard/ActionCard.stories.mdx index 8f5b697b..d15666fd 100644 --- a/packages/react/src/components/ActionCard/ActionCard.stories.mdx +++ b/packages/react/src/components/ActionCard/ActionCard.stories.mdx @@ -28,7 +28,7 @@ Action cards can be used in overview pages or dashboards. description: "Configure additional authentications to sign in easily or to add an extra layer of security to your account.", actionText: "Setup MFA", onActionClick:() => {alert("Action clicked")}, - image: action card, + image: action card, variant: "outlined" }}> {Template.bind({})} @@ -55,7 +55,7 @@ function Demo() { description="Action Card Description." actionText="Action Card Action Text" onActionClick={() => {alert("Action clicked")}} - image={action card} + image={action card} /> ); }`} diff --git a/packages/react/src/components/ActionCard/__tests__/ActionCard.test.tsx b/packages/react/src/components/ActionCard/__tests__/ActionCard.test.tsx index bb500d98..9f56d093 100644 --- a/packages/react/src/components/ActionCard/__tests__/ActionCard.test.tsx +++ b/packages/react/src/components/ActionCard/__tests__/ActionCard.test.tsx @@ -31,7 +31,7 @@ const ActionCardTestComponent: ReactElement = ( } actionText="Setup MFA" onActionClick={onActionClick} - image={action card} + image={action card} /> ); diff --git a/packages/react/src/components/ActionCard/__tests__/__snapshots__/ActionCard.test.tsx.snap b/packages/react/src/components/ActionCard/__tests__/__snapshots__/ActionCard.test.tsx.snap index 5eeaa857..51b786ee 100644 --- a/packages/react/src/components/ActionCard/__tests__/__snapshots__/ActionCard.test.tsx.snap +++ b/packages/react/src/components/ActionCard/__tests__/__snapshots__/ActionCard.test.tsx.snap @@ -11,7 +11,7 @@ exports[`ActionCard should match the snapshot 1`] = ` > action card
{Template.bind({})} diff --git a/packages/react/src/components/Carousel/Carousel.stories.mdx b/packages/react/src/components/Carousel/Carousel.stories.mdx index 208c281a..ffb03e4b 100644 --- a/packages/react/src/components/Carousel/Carousel.stories.mdx +++ b/packages/react/src/components/Carousel/Carousel.stories.mdx @@ -33,16 +33,16 @@ Carousel can be used to slide through content. action: , title: "What is your first name?", description: "Start theming journey with Oxygen UI", - illustration: carousel illustration, + illustration: carousel illustration, }, { action: , title: "What is your last name?", description: "Start theming journey with Oxygen UI", - illustration: carousel illustration, + illustration: carousel illustration, } ], - title: Complete your Profile. It’s at 60% + title: Complete your Profile. It’s at 60% }} > {Template.bind({})} @@ -71,7 +71,7 @@ function Demo() { action: , title: "What is your first name?", description: "Start theming journey with Oxygen UI", - illustration: carousel illustration, + illustration: carousel illustration, } ]} /> diff --git a/packages/react/src/components/CircularProgressAvatar/CircularProgressAvatar.stories.mdx b/packages/react/src/components/CircularProgressAvatar/CircularProgressAvatar.stories.mdx index 7c1bae6c..48bec95a 100644 --- a/packages/react/src/components/CircularProgressAvatar/CircularProgressAvatar.stories.mdx +++ b/packages/react/src/components/CircularProgressAvatar/CircularProgressAvatar.stories.mdx @@ -27,10 +27,10 @@ The Avatar with circular progress and badge. name="Overview" args={{color: 'warning', progress: 70, - badgeOptions: {color: 'primary', badgeContent: '70%'}, + badgeOptions: {color: 'primary', badgeContent: '70%'}, avatarOptions: { - src: '/assets/images/avatar-john.svg', - alt:'avatar', + src: 'assets/images/avatar-john.svg', + alt:'avatar', } }} > diff --git a/packages/react/src/components/Header/Header.stories.mdx b/packages/react/src/components/Header/Header.stories.mdx index fc29c719..5b0b4214 100644 --- a/packages/react/src/components/Header/Header.stories.mdx +++ b/packages/react/src/components/Header/Header.stories.mdx @@ -30,14 +30,14 @@ navigation, and actions. export const basicHeaderVariationOptions = { brand: { logo: { - desktop: logo, - mobile: logo, + desktop: logo, + mobile: logo, }, onClick: () => null, title: 'OxygenUI', }, user: { - image: '/assets/images/avatar-john.svg', + image: 'assets/images/avatar-john.svg', name: 'Matthew', email: 'matthew@wso2.com', }, diff --git a/packages/react/src/components/Image/Image.stories.mdx b/packages/react/src/components/Image/Image.stories.mdx index fd5e66ae..df8c3c36 100644 --- a/packages/react/src/components/Image/Image.stories.mdx +++ b/packages/react/src/components/Image/Image.stories.mdx @@ -26,7 +26,7 @@ Image. {Template.bind({})} diff --git a/packages/react/src/components/SignIn/SignIn.stories.mdx b/packages/react/src/components/SignIn/SignIn.stories.mdx index 43128476..4d9f5c84 100644 --- a/packages/react/src/components/SignIn/SignIn.stories.mdx +++ b/packages/react/src/components/SignIn/SignIn.stories.mdx @@ -25,7 +25,7 @@ export const Template = args => ; Full-featured component to sign in users into your application. - + {Template.bind({})} @@ -56,7 +56,7 @@ function Demo() { A basic login box with username and password inputs. - + ### With Sign In Options @@ -95,7 +95,7 @@ export const GoogleIcon = (props) => {