@cagatayfdn/flora-components 0.0.57 → 0.0.59

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
@@ -19,6 +19,7 @@ import { NiceModalHocProps } from '@ebay/nice-modal-react';
19
19
  import { default as React_2 } from 'react';
20
20
  import { ReactNode } from 'react';
21
21
  import { SelectItemRenderer } from 'react-dropdown-select';
22
+ import { SelectRenderer } from 'react-dropdown-select';
22
23
  import { SetStateAction } from 'react';
23
24
  import { TFunction } from 'i18next';
24
25
  import { TFunctionResult } from 'i18next';
@@ -811,7 +812,7 @@ export declare type NavigatorCardProps = {
811
812
 
812
813
  export { NiceModal }
813
814
 
814
- export declare function NoResult(): JSX_2.Element;
815
+ export declare function NoResult({ text }: Props): JSX_2.Element;
815
816
 
816
817
  declare const Notification_2: (props: NotificationProps) => void;
817
818
  export { Notification_2 as Notification }
@@ -886,7 +887,7 @@ export declare type PermalinkProps = {
886
887
 
887
888
  export declare const PermFallBack: () => JSX_2.Element;
888
889
 
889
- export declare function Permission(props: Props): JSX_2.Element;
890
+ export declare function Permission(props: Props_2): JSX_2.Element;
890
891
 
891
892
  declare interface Permissions_2 {
892
893
  default: boolean;
@@ -1101,7 +1102,11 @@ declare enum ProjectAppAddonTypeSlugs {
1101
1102
  MAIL = 'mail',
1102
1103
  }
1103
1104
 
1104
- declare type Props = {
1105
+ declare type Props = Partial<SelectRenderer<OptionProps>> & {
1106
+ text?: string;
1107
+ };
1108
+
1109
+ declare type Props_2 = {
1105
1110
  id: string;
1106
1111
  tooltipText?: string;
1107
1112
  } & CanProps;