Skip to content

Commit

Permalink
chore(react): fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Oct 11, 2024
1 parent a04868a commit 262b1c9
Show file tree
Hide file tree
Showing 32 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -40,7 +40,7 @@ const COMPONENT_NAME: string = 'Accordion';
*
* Demos:
*
* - [Accordion (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (MUI)](https://mui.com/material-ui/react-accordion/)
*
* API:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const COMPONENT_NAME: string = 'AccordionDetails';
*
* Demos:
*
* - [Accordion (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (MUI)](https://mui.com/material-ui/react-accordion/)
*
* API:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const COMPONENT_NAME: string = 'AccordionSummary';
*
* Demos:
*
* - [Accordion (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-accordion)
* - [Accordion (MUI)](https://mui.com/material-ui/react-accordion/)
*
* API:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const COMPONENT_NAME: string = 'AccountOverview';
*
* Demos:
*
* - [Account Overview (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-account-overview)
* - [Account Overview (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-account-overview)
*
* API:
*
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/ActionCard/ActionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ export type ActionCardProps<C extends ElementType = ElementType> = CardProps<C>
const COMPONENT_NAME: string = 'ActionCard';

/**
* The Action Card component is an extended version of the` Card` component with an action button.
* The Action Card component is an extended version of the `Card` component with an action button.
*
* Demos:
*
* - [Action Card (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-action-card)
* - [Action Card (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-action-card)
*
* API:
*
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export type AlertProps<C extends ElementType = ElementType> = {
const COMPONENT_NAME: string = 'Alert';

/**
* The Alert component display brief messages for the user without interrupting their use of the app.
* The Alert component displays brief messages to the user without interrupting their use of the app.
*
* Demos:
*
* - [Alert (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-alert)
* - [Alert (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-alert)
* - [Alert (MUI)](https://mui.com/material-ui/react-alert/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/AlertTitle/AlertTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const COMPONENT_NAME: string = 'AlertTitle';
*
* Demos:
*
* - [Alert (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-alert)
* - [Alert (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-alert)
* - [Alert (MUI)](https://mui.com/material-ui/react-alert/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const COMPONENT_NAME: string = 'AppBar';
*
* Demos:
*
* - [App Bar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (MUI)](https://mui.com/material-ui/react-app-bar/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/AppShell/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const COMPONENT_NAME: string = 'AppShell';
*
* Demos:
*
* - [App Shell (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/layout-app-shell)
* - [App Shell (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/layout-app-shell)
*
* API:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const COMPONENT_NAME: string = 'Autocomplete';
*
* Demos:
*
* - [Autocomplete (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-autocomplete)
* - [Autocomplete (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-autocomplete)
* - [Autocomplete (MUI)](https://mui.com/material-ui/react-autocomplete/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const COMPONENT_NAME: string = 'Avatar';
*
* Demos:
*
* - [Avatar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-avatar)
* - [Avatar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-avatar)
* - [Avatar (MUI)](https://mui.com/material-ui/react-avatar/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Backdrop/Backdrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const COMPONENT_NAME: string = 'Backdrop';
*
* Demos:
*
* - [Backdrop (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-backdrop)
* - [Backdrop (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/feedback-backdrop)
* - [Backdrop (MUI)](https://mui.com/material-ui/react-backdrop/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const COMPONENT_NAME: string = 'Carousel';
*
* Demos:
*
* - [Carousel(Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-carousel)
* - [Carousel(Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-carousel)
*
* API:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const COMPONENT_NAME: string = 'CircularProgressAvatar';
* Demos:
*
* // TODO: Move this demo to the Progress demo.
* - [Circular Progress Avatar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-circular-progress-avatar)
* - [Circular Progress Avatar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-circular-progress-avatar)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Code/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const COMPONENT_NAME: string = 'Code';
*
* Demos:
*
* - [Code (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-code)
* - [Code (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-code)
*
* API:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const COMPONENT_NAME: string = 'CollapsibleNavbarItem';
*
* Demos:
*
* - [Collapsible Navbar Item (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-collapsible-navbar-item)
* - [Collapsible Navbar Item (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-collapsible-navbar-item)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/DataGrid/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const COMPONENT_NAME: string = 'DataGrid';
*
* Demos:
*
* - [Data Grid (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-datagrid)
* - [Data Grid (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-datagrid)
* - [Data Grid (MUI X)](https://mui.com/x/react-data-grid/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const COMPONENT_NAME: string = 'Drawer';
*
* Demos:
*
* - [Drawer (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-drawer)
* - [Drawer (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-drawer)
* - [Drawer (MUI)](https://mui.com/material-ui/react-drawer/)
*
* API:
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const COMPONENT_NAME: string = 'Footer';
*
* Demos:
*
* - [Footer (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-footer)
* - [Footer (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-footer)
*
* @remarks
* - ✨ This is a custom component that is not available in the Material-UI library.
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const COMPONENT_NAME: string = 'Header';
*
* Demos:
*
* - [Header (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-header)
* - [Header (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-header)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const COMPONENT_NAME: string = 'Image';
*
* Demos:
*
* - [Image (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-image)
* - [Image (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-image)
*
* @remarks
* - ✨ This is a custom component that is not available in the Material-UI library.
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const COMPONENT_NAME: string = 'Menu';
*
* Demos:
*
* - [App Bar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (MUI)](https://mui.com/material-ui/react-app-bar/)
* - [Menu (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-menu)
* - [Menu (MUI)](https://mui.com/material-ui/react-menu/)
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const COMPONENT_NAME: string = 'Navbar';
*
* Demos:
*
* - [Navvar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-navbar)
* - [Navvar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-navbar)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/NavbarItem/NavbarItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const COMPONENT_NAME: string = 'NavbarItem';
*
* Demos:
*
* - [Navbar Item (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-navbar-item)
* - [Navbar Item (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-navbar-item)
*
* API:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const COMPONENT_NAME: string = 'PhoneNumberInput';
*
* Demos:
*
* - [Phone Number Input (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-phone-number-input)
* - [Phone Number Input (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-phone-number-input)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/SignIn/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const COMPONENT_NAME: string = 'SignIn';
*
* Demos:
*
* - [Sign In (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-sign-in--overview)
* - [Sign In (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-sign-in--overview)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Stepper/Stepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const COMPONENT_NAME: string = 'Stepper';
*
* Demos:
*
* - [Stepper (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-stepper--overview)
* - [Stepper (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-stepper--overview)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/TabPanel/TabPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const COMPONENT_NAME: string = 'TabPanel';
*
* Demos:
*
* - [TabPanel (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-tab-panel--overview)
* - [TabPanel (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/navigation-tab-panel--overview)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/TextField/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const PasswordFieldWithCriteria: ForwardRefExoticComponent<TextFieldProps> & Wit
*
* Demos:
*
* - [Autocomplete (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-autocomplete)
* - [Autocomplete (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-autocomplete)
* - [Autocomplete (MUI)](https://mui.com/material-ui/react-autocomplete/)
* - [Text Field (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/inputs-text-field)
* - [Text Field (MUI)](https://mui.com/material-ui/react-text-field/)
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Toolbar/Toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const COMPONENT_NAME: string = 'Toolbar';
*
* Demos:
*
* - [App Bar (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/surfaces-app-bar)
* - [App Bar (MUI)](https://mui.com/material-ui/react-app-bar/)
*
* API:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const COMPONENT_NAME: string = 'UserDropdownMenu';
*
* Demos:
*
* - [UserDropdownMenu (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-image)
* - [UserDropdownMenu (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/data-display-image)
*
* API:
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Wizard/Wizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const COMPONENT_NAME: string = 'Wizard';
*
* Demos:
*
* - [Wizard (Oxygen UI)] (https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-wizard)
* - [Wizard (Oxygen UI)](https://wso2.github.io/oxygen-ui/react/?path=/docs/patterns-wizard)
*
* API:
*
Expand Down

0 comments on commit 262b1c9

Please sign in to comment.