@edvisor/product-language 0.11.47 → 0.11.49

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.
@@ -1,4 +1,4 @@
1
- import { FC, PropsWithChildren } from '@helpers';
1
+ import { FC, Hex, PropsWithChildren } from '@helpers';
2
2
  import { AlertLevelProps } from './alert-level-flags';
3
3
  interface IAlertBannerProps extends PropsWithChildren {
4
4
  dismissible?: boolean;
@@ -9,6 +9,9 @@ interface IAlertBannerProps extends PropsWithChildren {
9
9
  onPrimaryAction?: () => void;
10
10
  onSecondaryAction?: () => void;
11
11
  onClose?: () => void;
12
+ icon?: FC<{
13
+ color: Hex;
14
+ }>;
12
15
  }
13
16
  export declare type AlertBannerProps = IAlertBannerProps & AlertLevelProps;
14
17
  export declare const AlertBanner: FC<AlertBannerProps>;
@@ -162,6 +162,7 @@ export interface ISelectProps<T = any> {
162
162
  onClose?(): void;
163
163
  onInputChange?(value: string): void;
164
164
  customIcon?: typeof IconFullList[IconNames];
165
+ detachOptions?: boolean;
165
166
  }
166
167
  export interface IValueProps {
167
168
  options: ISelectProps['options'];
@@ -199,6 +200,7 @@ export interface IMenuContainerProps {
199
200
  invalid?: boolean;
200
201
  labelPosition?: string;
201
202
  label?: string;
203
+ detachOptions?: boolean;
202
204
  children?: React.ReactNode;
203
205
  onRef?(el: HTMLDivElement | undefined): void;
204
206
  onClick?(el: React.MouseEvent<HTMLDivElement>): void;
@@ -255,6 +257,7 @@ export interface IMenuComponentProps<T = any> {
255
257
  menuHeight: ISelectProps['menuHeight'];
256
258
  menuPosition: ISelectProps['menuPosition'];
257
259
  invalid: ISelectProps['invalid'];
260
+ detachOptions?: ISelectProps['detachOptions'];
258
261
  selectedIndex?: number;
259
262
  open: boolean;
260
263
  search?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edvisor/product-language",
3
- "version": "0.11.47",
3
+ "version": "0.11.49",
4
4
  "license": "MIT",
5
5
  "description": "Edvisor.io product-language components",
6
6
  "repository": "https://github.com/edvisor-io/front-end/",