@openfin/ui-library 0.21.0-alpha.1689104862 → 0.21.0-alpha.1689351144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -192,7 +192,7 @@ npm run test
192
192
 
193
193
  ### 1. Bump package version
194
194
 
195
- Once you are ready to make a new release and all PRs meant for a release are merged into `main` branch, you should now create a new PR into `main` to bump the package version to the appropriate number. Get that PR approved and merged into `main`.
195
+ Once you are ready to make a new release and all PRs meant for a release have been merged into `main` branch, you should now create a new branch to bump the package version (for example name the branch `<yourName>/bump-version/<new-version-number>`). Next, run `npm version [<newversion> | major | minor | patch]` to bump the package version. Now, create a PR into the `main` branch and get that PR approved and merged.
196
196
 
197
197
  ### 2. Create a release branch
198
198
 
@@ -8,4 +8,4 @@ export interface DropdownButtonProps {
8
8
  placeholder: string;
9
9
  selected?: MenuOption;
10
10
  }
11
- export declare const DropdownButton: React.ForwardRefExoticComponent<DropdownButtonProps & React.RefAttributes<unknown>>;
11
+ export declare const DropdownButton: React.ForwardRefExoticComponent<DropdownButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -10,4 +10,4 @@ export interface DropdownMenuProps {
10
10
  renderLabel?: (option: MenuOption, isOpen: boolean, onClick: () => void, focusedOption?: MenuOption) => ReactNode;
11
11
  fitContent?: boolean;
12
12
  }
13
- export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<React.FC<DropdownMenuProps>>>;
13
+ export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
@@ -3,5 +3,8 @@ import { UnitPxType } from '../../system/ThemeProvider';
3
3
  export type CheckboxGroupProps = React.InputHTMLAttributes<HTMLInputElement> & {
4
4
  gap?: UnitPxType;
5
5
  message?: string;
6
+ validationErrorMessage?: string;
7
+ helperText?: string;
8
+ label?: string;
6
9
  };
7
10
  export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
@@ -3,10 +3,13 @@ import { UnitPxType } from '../../system/ThemeProvider';
3
3
  import { RadioLabelSideType } from '../RadioInput/radioInput';
4
4
  type RadioDirectionType = 'row' | 'column';
5
5
  export type RadioGroupProps = React.InputHTMLAttributes<HTMLInputElement> & {
6
+ label?: string;
6
7
  direction?: RadioDirectionType;
7
8
  gap?: UnitPxType;
8
9
  labelSide?: RadioLabelSideType;
9
10
  message?: string;
11
+ validationErrorMessage?: string;
12
+ helperText?: string;
10
13
  };
11
14
  export declare const RadioGroup: React.FC<RadioGroupProps>;
12
15
  export {};
@@ -1,8 +1,8 @@
1
- import { InputHTMLAttributes, ChangeEvent } from 'react';
1
+ import { TextareaHTMLAttributes, ChangeEvent } from 'react';
2
2
  import { WithStatusProps } from '../../system/HOC';
3
- export type TextAreaProps = InputHTMLAttributes<HTMLTextAreaElement> & {
3
+ export type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
4
4
  onChange?: (e?: ChangeEvent<HTMLTextAreaElement>) => void;
5
5
  } & WithStatusProps;
6
- export declare const TextArea: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLTextAreaElement> & {
6
+ export declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & {
7
7
  onChange?: ((e?: ChangeEvent<HTMLTextAreaElement>) => void) | undefined;
8
8
  } & WithStatusProps & import("react").RefAttributes<HTMLTextAreaElement>>;