maritime-ui 0.1.47 → 0.1.48

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/dist/index.d.ts CHANGED
@@ -11,14 +11,14 @@ import { SelectInstance } from 'react-select';
11
11
 
12
12
  export declare const Badge: ({ type, title, icon }: Props) => JSX.Element;
13
13
 
14
- export declare type BadgeType = 'default' | 'success' | 'warning' | 'info' | 'warning-with-icon' | 'success-with-icon' | 'info-with-icon' | 'danger' | 'primary' | 'azure' | 'pink' | 'purple';
14
+ export declare type BadgeType = 'default' | 'success' | 'warning' | 'info' | 'warning-with-icon' | 'success-with-icon' | 'info-with-icon' | 'danger' | 'azure' | 'pink' | 'purple';
15
15
 
16
16
  export declare const Button: FC<ButtonProps>;
17
17
 
18
18
  declare type ButtonProps = {
19
19
  buttonStyle?: string;
20
20
  buttonSize?: 'small' | 'medium' | 'large' | 'huge';
21
- buttonColor?: 'primary' | 'secondary' | 'danger' | 'tertiary' | 'success';
21
+ buttonColor?: 'primary' | 'secondary' | 'danger' | 'tertiary' | 'success' | 'warning';
22
22
  buttonFill?: 'solid' | 'bordered' | 'link';
23
23
  type?: 'button' | 'submit' | 'reset';
24
24
  text?: ReactNode;
@@ -56,7 +56,6 @@ declare type FilterButtonProps = {
56
56
  }[];
57
57
  selectedOptions: string[];
58
58
  onChange: (selectedOptions: string[]) => void;
59
- showAll?: boolean;
60
59
  };
61
60
 
62
61
  export declare const FilterSearch: FC<FilterSearchProps>;
@@ -74,13 +73,13 @@ declare type FilterSearchProps = {
74
73
  children?: ReactNode;
75
74
  };
76
75
 
77
- export declare const FormFieldCheckbox: ({ controlKey, options, labelText, required, disabled, multiple, singleSelect, }: Props_6) => JSX.Element;
76
+ export declare const FormFieldCheckbox: ({ controlKey, options, labelText, required, disabled, exclusive, }: Props_6) => JSX.Element;
78
77
 
79
78
  export declare const FormFieldDatepicker: ({ controlKey, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_9) => JSX.Element;
80
79
 
81
80
  export declare const FormFieldDatepickerRange: ({ controlKeyStart, controlKeyEnd, labelText, placeholder, required, disabled, clearable, dateFormat, minDate, maxDate, onAfterChange, errorText, }: Props_10) => JSX.Element;
82
81
 
83
- export declare const FormFieldInput: ({ controlKey, labelText, placeholder, type, required, disabled, numeric, digitsOnly, decimalPlaces, onAfterChange, errorText, }: Props_5) => JSX.Element;
82
+ export declare const FormFieldInput: ({ controlKey, labelText, type, required, disabled, numeric, digitsOnly, decimalPlaces, onAfterChange, errorText, }: Props_5) => JSX.Element;
84
83
 
85
84
  export declare const FormFieldMultiSelect: ForwardRefExoticComponent<Omit<Props_8<DropdownOption, true>, "options" | "isMulti" | "noOptionsMessage"> & {
86
85
  controlKey: string;
@@ -110,10 +109,12 @@ errorText?: string;
110
109
  optimize?: boolean;
111
110
  } & RefAttributes<SelectInstance<DropdownOption, false>>>;
112
111
 
113
- export declare const FormFieldTextarea: ({ controlKey, labelText, placeholder, required, disabled, rows, errorText, }: Props_7) => JSX.Element;
112
+ export declare const FormFieldTextarea: ({ controlKey, labelText, required, disabled, rows, errorText, }: Props_7) => JSX.Element;
114
113
 
115
114
  export declare const FormFieldTimepicker: FC<Props_12>;
116
115
 
116
+ export declare const Loader: ({ size }: Props_13) => JSX.Element;
117
+
117
118
  export declare const MoreActionsDropdown: FC<MoreActionsDropdownProps>;
118
119
 
119
120
  declare type MoreActionsDropdownProps = {
@@ -160,14 +161,17 @@ declare type Props_11 = {
160
161
 
161
162
  declare type Props_12 = {
162
163
  controlKey: string;
163
- labelText?: string;
164
- placeholder?: string;
164
+ labelText: string;
165
165
  required?: boolean;
166
166
  disabled?: boolean;
167
167
  onAfterChange?: (value: string) => void;
168
168
  errorText?: string;
169
169
  };
170
170
 
171
+ declare type Props_13 = {
172
+ size?: number;
173
+ };
174
+
171
175
  declare type Props_2 = {
172
176
  icon?: ReactNode;
173
177
  illustration?: ReactNode;
@@ -201,7 +205,6 @@ declare type Props_4 = {
201
205
  declare type Props_5 = {
202
206
  controlKey: string;
203
207
  labelText?: string;
204
- placeholder?: string;
205
208
  type?: string;
206
209
  required?: boolean;
207
210
  disabled?: boolean;
@@ -218,14 +221,12 @@ declare type Props_6 = {
218
221
  labelText?: string;
219
222
  required?: boolean;
220
223
  disabled?: boolean;
221
- multiple?: boolean;
222
- singleSelect?: boolean;
224
+ exclusive?: boolean;
223
225
  };
224
226
 
225
227
  declare type Props_7 = {
226
228
  controlKey: string;
227
229
  labelText?: string;
228
- placeholder?: string;
229
230
  required?: boolean;
230
231
  disabled?: boolean;
231
232
  rows?: number;
@@ -287,7 +288,7 @@ export declare const ToggleButton: FC<ToggleButtonProps>;
287
288
  declare type ToggleButtonProps = {
288
289
  value: boolean;
289
290
  onChange: (value: boolean) => void;
290
- buttonSize?: 'small' | 'large';
291
+ buttonSize?: 'small';
291
292
  disabled?: boolean;
292
293
  };
293
294