Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Alert/examples/Alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,4 @@ Alerts that are asynchronously appended into dynamic [alert groups](/components/

This example shows how an alert could be triggered by an asynchronous event in the application. Note that you can customize how the alert will be announced to assistive technology. See the [https://www.patternfly.org/v4/components/alert/accessibility](alert accessibility) for more information.
```ts file="AlertAsyncLiveRegion.tsx"
```
```
2 changes: 1 addition & 1 deletion packages/react-core/src/components/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface LoginPageProps extends React.HTMLProps<HTMLDivElement> {
loginTitle: string;
/** Subtitle for the login main body header of the login page */
loginSubtitle?: string;
/** @beta Header utilities for the login main body header of the login page */
/** Header utilities for the login main body header of the login page */
headerUtilities?: React.ReactNode;
/** Content rendered inside of login main footer band to display a sign up for account message */
signUpForAccountMessage?: React.ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Menu/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface MenuItemProps extends Omit<React.HTMLProps<HTMLLIElement>, 'onC
itemId?: any;
/** Target navigation link. Should not be used if the flyout prop is defined. */
to?: string;
/** @beta Flag indicating the item has a checkbox */
/** Flag indicating the item has a checkbox */
hasCheck?: boolean;
/** Flag indicating whether the item is active */
isActive?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions packages/react-core/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ export interface SelectProps
isCreateOptionOnTop?: boolean;
/** Flag indicating if placeholder styles should be applied */
hasPlaceholderStyle?: boolean;
/** @beta Flag indicating if the creatable option should set its value as a SelectOptionObject */
/** Flag indicating if the creatable option should set its value as a SelectOptionObject */
isCreateSelectOptionObject?: boolean;
/** Value to indicate if the select is modified to show that validation state.
* If set to success, select will be modified to indicate valid state.
* If set to error, select will be modified to indicate error state.
* If set to warning, select will be modified to indicate warning state.
*/
validated?: 'success' | 'warning' | 'error' | 'default';
/** @beta Loading variant to display either the spinner or the view more text button */
/** Loading variant to display either the spinner or the view more text button */
loadingVariant?: 'spinner' | SelectViewMoreObject;
/** Text displayed in typeahead select to prompt the user to create an item */
createText?: string;
Expand Down Expand Up @@ -165,7 +165,7 @@ export interface SelectProps
chipGroupComponent?: React.ReactNode;
/** Flag for retaining keyboard-entered value in typeahead text field when focus leaves input away */
isInputValuePersisted?: boolean;
/** @beta Flag for retaining filter results on blur from keyboard-entered typeahead text */
/** Flag for retaining filter results on blur from keyboard-entered typeahead text */
isInputFilterPersisted?: boolean;
/** Flag indicating the typeahead input value should reset upon selection */
shouldResetOnSelect?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions packages/react-core/src/components/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export interface TabsProps extends Omit<React.HTMLProps<HTMLElement | HTMLDivEle
defaultActiveKey?: number | string;
/** Callback to handle tab selection */
onSelect?: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string) => void;
/** @beta Callback to handle tab closing and adds a basic close button to all tabs. This is overridden by the tab actions property. */
/** Callback to handle tab closing and adds a basic close button to all tabs. This is overridden by the tab actions property. */
onClose?: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string) => void;
/** @beta Callback for the add button. Passing this property inserts the add button */
/** Callback for the add button. Passing this property inserts the add button */
onAdd?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
/** @beta Aria-label for the add button */
/** Aria-label for the add button */
addButtonAriaLabel?: string;
/** Uniquely identifies the tabs */
id?: string;
Expand Down
6 changes: 3 additions & 3 deletions packages/react-core/src/components/Tabs/examples/Tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ The tooltip should also have the `id` prop passed in. The value given to this pr

To enable closeable tabs, pass the `onClose` property to `Tabs`, and to enable the add button, pass the `onAdd` property to `Tabs`. Aria labels may be controlled manually by passing `closeButtonAriaLabel` to `Tab` and `addButtonAriaLabel` to `Tabs`.

```ts file="./TabsDynamic.tsx" isBeta
```ts file="./TabsDynamic.tsx"
```

### Help action

```ts file="./TabsHelp.tsx" isBeta
```ts file="./TabsHelp.tsx"
```

### Help and close actions

```ts file="./TabsHelpAndClose.tsx" isBeta
```ts file="./TabsHelpAndClose.tsx"
```
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ propComponents: ['TextArea']

**Note:** The icons for the success, invalid, calendar, etc. variations in form control elements are applied as background images to the form element. By default, the image URLs for these icons are data URIs. However, there may be cases where data URIs are not ideal, such as in an application with a content security policy that disallows data URIs for security reasons. The `isIconSprite` variation changes the icon source to an external SVG file that serves as a sprite for all of the supported icons.

```ts isBeta file="./TextAreaIconSprite.tsx"
```ts file="./TextAreaIconSprite.tsx"
```